Building this capability into Rails would be contrary to the current 
project philosophy, so don't expect it soon.

However, Ryan Bigg has been working on similar features recently. See his 
reports here: https://ryanbigg.com/2020/02/rom-and-dry-showcase-part-1

On Monday, February 3, 2020 at 9:39:47 PM UTC-6, Laerti Papa wrote:
>
> Hi guys,
>
> thank you for your effort so far and for your contribution.  
>
> I've been playing around with DDD concepts lately and trying to apply them 
> to Rails. It's been super annoying and frustrating trying to fight the 
> framework to apply them especially when it comes to **Persistence 
> ignorance**. It would be nice if the framework supported that out of the 
> box either with a DSL likeish framework or configuration files. Also to 
> have a more safe typing approach regarding data attributes I have to either 
> implement it myself or use existing libraries like dry-rb or something.   
>
> I was curious why so many years we don't decouple active record into two 
> pieces. One to keep it as is. Second, allow users to decouple entities and 
> data access objects and have a framework that will support them in better 
> domain modeling without having to write much-supporting code to do so. 
>
> I would appreciate any thoughts.
>
> Best
> LP
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-core/3818255d-9f1c-420b-a507-30a9cf2caed0%40googlegroups.com.

Reply via email to