Fritz Trapper wrote:
> Thanks for your replies.
> 
> Using columns, the name can be queried by human_name:
> 
>   Art.columns[0].human_name
> 
> inspect is perfect for displaying purposes.

Note that, in my experience at least, this is rarely necessary unless 
you're writing something like ActiveScaffold.  What are you trying for 
here?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
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