Ruby on Rails Discussions
Get column value of col1 .. col10
rubyonrails-talk
Jan_Prill
(Jan Prill)
January 6, 2007, 9:53am
1
Hey Arnold,
you should get a hash right away by using
@my_instance.attributes
Cheers, Jan
Related topics
Topic
Replies
Views
Activity
Getting column names from a record set
rubyonrails-talk
0
99
March 2, 2007
How to iterate through an instance
rubyonrails-talk
4
135
December 17, 2008
accessing object attributes
rubyonrails-talk
2
155
March 25, 2010
Identifying the attributes of an object dynamically
rubyonrails-talk
2
475
July 7, 2008
Problem: To retrive a specific column by method.find
rubyonrails-talk
0
113
April 19, 2007