On 28 Oct 2008, at 02:42, Phil Go20 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 ?
>
Assuming you mean as a programmer (ie not with some code at runtime),  
take a look at schema.rb in your app.

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