solnic.eu
Articles tagged with  patterns

The State of Ruby ORM

November 29, 2011 by Piotr Solnica

UPDATE: DataMapper 2 was renamed to Ruby Object Mapper (ROM). For more info check out rom-rb.org


We have a lot of different Object-Relational Mapper implementations in Ruby (and a ton and a half of Mongo mappers ;)) and it’s probably a good thing...


Making ActiveRecord Models Thin

August 01, 2011 by Piotr Solnica

“Skinny Controller, Fat Model” is a well known best practice in Ruby community. Everybody seems to agree with it and follows it. It’s pretty clear what a skinny controller is. The question is what is a fat model and what should we do if it gets too...