Jedrin wrote in post #1016808:
> If rec is an active record object and you call rec.attribute_names, it
> gives you the field names in alphabetical order.
>  If there is a way to get the order that the fields where created into
> the dabatase on the create_table sql call, I would find that very
> useful.

How?

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to