Michael Breen wrote: > To generate some fields you need to tell the scaffold what fields you > want and what type they are. So, for example, if you wanted to create > a Post with a title and body you would do: > > script/generate scaffold Post title:string body:text > > If you just type in 'script/generate scaffold' you'll get examples on > how to use the scaffold generator. > > best. > mike
Thanks a lot, this really helped me, I couldn't find why my "new" page was empty. -- 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.

