Did you use ActiveRecord's serialization?

class MyModel < ActiveRecord::Base
  serialize :data, Hash
end

If so, you can simple call from your model to get your hash back.

mymodel = MyModel.find(prams[:id])
myhash = mymodel.data
field1 = myhash[:field1]



Thank you,
Glen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to