RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

You got NoSQL in my Postgres! Using Hstore in Rails

Wouldn't it be awesome if we could just save data in a database like a hash? Well now you can, with hstore & Rails. Hstore is a key/value schema-less datastore in Postgres, use it just like a hash...(more)

Comments

Very cool. I've used HStore for a freelance project I did. It perfectly fit my needs. That HStore rails gem is awesome. The one thing you should be weary of is don't just blindly execute the raw sql that the gem suggest you run to enable hstore. Look at the local hstore installation on your machine and run the sql from the hstore.sql file.harisamin - March 14, 2012 23:31

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!