Quantcast
Channel: Tweetegy » activerecord
Browsing all 3 articles
Browse latest View live

Using Value Objects in ActiveRecord

I wanted to find out more about using Value Objects in ActiveRecord. Value objects are conserned with the value of their attributes over other identifiers (as opposed to Entitiy Objects which are...

View Article



Create Nested Polymorphic Comments with Rails and Ancestry Gem

I know the post title sounds a little complex and a real mouth full but, hey, its just a commenting solution that can be applied to any resource in a Rails application. Additionally, comments can be...

View Article

Using postgres hstore with Rails / Active Record

One good solution for implementing key / value persistence to an Active Record model is to use a postgres hstore column. This gives you the ability to store any key / value pair (as strings) directly...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images