How do we store hash things in DB?

#!/usr/bin/ruby
#hash_of_hash.rb

list={“app1”=>101,“app2”=>104,“app3”=>109,“app4”=>123}

h=Hash.new{ |h,id| h[id]=Hash.new{ |h,dt| h[dt]={} }}
h[“company”][“products”]=list
puts h

we know this is hash of hash.

I want to store that hash thing in (postgreSQL) database.

share you points to store it.

On Tue, Dec 10, 2013 at 7:55 AM, selvag selvag [email protected]
wrote:

I want to store that hash thing in (postgreSQL) database.

share you points to store it.

If you would like us to reply to this please at least pretend you are
talking to fellow humans and use minimal form of kindness. And please
share your requirements.

Regards

robert

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs