3 ms·
This is the DAO pattern, welcome to 1999 Ruby. https://www.baeldung.com/java-dao-pattern https://www.baeldung.com/java-dao-pattern
by briandilley 7y ago
This is the DAO pattern, welcome to 1999 Ruby.
https://www.baeldung.com/java-dao-pattern https://www.baeldung.com/java-dao-pattern
- bradstewart 7y agoIt's not that Ruby has never heard of this pattern, the article even mentions libraries that implement it (ROM, Sequel). Rails made a choice to use the active record pattern instead. This article is about adapting an existing application to a new pattern.