We can use Nosql in Postgres :-), Excited right ? Yep Ruby on Rails 4 supports this via Hstore.
I had to query my Model tuples but it was not possible as i was using Serialize to store dynamic fields. But using Hstore we can easily achieve this like as follows , Hstore acts same as serialize in rails, but additionally we can query tables using Hstore.
console Chocolate.last p.properties > p.properties p.save Chocolate.where Chocolate.where