I found a Ruby on Rails tutorial today that I thought I would share because it was easy to follow and it is targeted for version 2.0.2. This tutorial is a little bit more extensive than ones I have posted in the past. In this tutorial you will use scaffolding. This also includes setting up relationships between you entities/database tables. You also work with validation. I thought this was particularly interesting because it is extremely easy to specify if a variable in a Model class and specify if it is required or if it must be greater then a value and that will bubble up to the web page when the user is submitting the page. There is no need to add controls to the page and specify the fields they are validating and what that validation criteria is. This tutorial will also show you how to write a simple unit test for your code as well. You can find the tutorial at:
http://developer.apple.com/tools/developonrailsleopard.html
No Comments on "Ruby on Rails Tutorial"