A step-by-step introduction to Rails 3.0 for newbies. Personal attention given to each student. The structure can be customized according to the students background. The 4 hour session will give you enough fundamentals and also show you the usual work flow of a Rails developer. How they go about solving problems while developing an app.
Before the Class : Installation You need Ruby 1.8.7 or later, Rails 3.0 , Ruby gems version 1.3.7. Ruby 1.9.1 is not compatible with Rails 3.0. Please install Ruby 1.9.2 instead. Here's a couple of links about it: See the blue note on:
http://guides.rails.i... says "Ruby 1.9.1 is not usable because it outright segfaults on Rails 3.0, so if you want to use Rails 3 with 1.9.x jump on 1.9.2 for smooth sailing."
Upgrading Snow Leopard to Rails 3.0 Beta 4
Installing Ruby 1.9.1 on Snow Leopard
Before the Class : Optional Please follow the tutorial here :
http://guides.rails.i... We will be working on this blog app in the class. Some of the things on this tutorial is out dated for Rails 3.0. I will also be explaining things that is described in this tutorial from a different perspective. It usually connects all the dots together and the student will be able to see how all the concepts fit together.
Duration 4 hours
Agenda Basic Ruby for Rails Brief Tour of Rails Directory Structure Blog App - Iteration One - Blog Model, View and Controller Blog App - Iteration Two - Comment Model, View and Controller Setting the Application Home Page Customizing the Layout Partials HTTP Basic Authentication Multi-Model Form View Helpers MVC and Resources Migration Validation - Validating data and displaying error messages