Invest in the electronic PDF version of Agile Web Development with RoR from the Pragmatic Programmer library.
(Assuming you have a database setup, I use MySQL, others use a different backend) In the root folder for your app, enter ruby script/generate scaffold person first_name:string last_name:string Explore the folder tree for your app and see what Rails has auto-generated for you (all sorts of wonderful things... a migration, a controller, some views, and an entry in routes.rb). Peruse this folder structure and the files to see how things fit together in a 'vanilla' Rails application. Some may disparage the scaffold command, but it is an excellent first step to see what Rails does by default. For practically zero effort, you have a nice example of Rails written for you. Next steps would typically be something like: Edit database.yml to talk to your database. Run the migration (rake db:migrate). Next, I'd recommend running "rake routes >routes.lst", then look at routes.lst to see what rails routing is all about. Rename the default index.html in public to get it out of the way. Start your server. Navigate to http://localhost:3000/people -- 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 -~----------~----~----~----~------~----~------~--~---

