ActiveRecord Aggregations with composed_of Discussion
Discussion for
ActiveRecord Aggregations with composed_of
I don't see this feature used often in Rails apps, but it's super powerful for things like this. An easy way of creating Ruby objects like this allows you to really organize functionality instead of stuffing it all in models.
This is great! Never knew about this one. Now I have to try and find uses for it :)
I guess any model attribute that ends up having a lot of auxiliary methods or view helper methods around them would be potential candidates.