From c7e0a55f116e32d62c04d27388dbf592cad5fff4 Mon Sep 17 00:00:00 2001 From: carolyncole <1599081+carolyncole@users.noreply.github.com> Date: Mon, 4 Aug 2025 09:28:28 -0400 Subject: [PATCH] Update the documentation on Struct to not utilize presentation Presentation is a loaded term, which implies data that will be visible to the user. I was confused by this statement when reading the documentation. I hope the hint about an Operation is also helpful to another new person. --- content/v2.2/database/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/v2.2/database/overview.md b/content/v2.2/database/overview.md index c20a7475..9eadab2f 100644 --- a/content/v2.2/database/overview.md +++ b/content/v2.2/database/overview.md @@ -119,7 +119,7 @@ For more on Repositories, see [ROM: Repositories](https://rom-rb.org/learn/repos The final output of a Repository is a Struct. -A Hanami struct is immutable, and contains no business logic. They are extensible for adding presentation logic: +A Hanami struct is immutable, and contains no business logic. They are extensible for adding read only data enhancements (For more complex logic consider utilizing an Operation): ```ruby module Main