anon_comp wrote: > On Aug 12, 3:36�pm, Dave Aronson <googlegroups2d...@davearonson.com> > wrote: >> > �has_many :albums >> > Regenerate the scaffold. I believe you're following an old tutorial, > scaffolds are a lot simpler than trying to attach tables together and > hoping they'll stick. Take note of Colin's comment. > > $ script/generate scaffold album title:string artist:string > price:decimal > > then take a look in /db/migrate/StringOfNumbers_create_albums.rb > > Finally, try running it.
Got it, thanks guys. The problem was I need to use this type syntax: "script/generate scaffold Album title:string artist:string date_time:datetime" Within the video tutorial, only the syntax "script/generate scaffold Album" was used and it created all the correct views. So not sure whats going on with that. There is an option that may reproduce what I see in the video tutorial. Its called "CRUD scaffold generator" and can be found here: http://github.com/kevinskoglund/crud-scaffold-generator Thanks for everyones help. -- 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-t...@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.