KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have the following object that has been created @post = Post.create(:name => 'test', :post_number => 20, :active => true) Once this is saved, I want to be able to get the object back to a hash, e.g. by doing somthing like: @object.to_hash How is this possible from within rails?
Tags (comma-separated)
Save Edits
Cancel