Do you mean Model.column_names ? You could just use it, and it will return an arry with all your column names in your DB tables.
On Oct 28, 11:42 am, Phil Go20 <[EMAIL PROTECTED]> wrote: > Hi, > > I am just starting on Ruby and I would like to know if there is any > place in the code where I can get a Model attributes list ? > > Of course I could look into the migration file or look at the DB tables, > but is there another way ? > > Thanks > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---

