On Mon, Dec 15, 2008 at 8:12 AM, Jeremy McAnally <[email protected]> wrote: > > ActiveRecord automatically discovers the fields in your model's table > and creates accessor methods for you at runtime, so the model shown is > all you need.
Exactly, and >> ruby script/generate scaffold Csv filename:string created:date >> modified:date imported:date ..probably worth mentioning that you can easily confirm something like this by opening your Rails console and entering e.g. @csv = Csv.new and viewing the output. FWIW, -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

