Speeding Along on Rails
Revision: TE3604_20080225
Course Length:
1 Day
Course Description:
This one-day rapid Rails course will give you, in quick order, many of the details that will allow you write database backed Web applications
Who Should Attend:
This course is for students who want to learn the basics of Ruby on Rails in an abbreviated time period.
Benefits of Attendance:
Upon completion of this course, students will be able to:
- Create an application using Ruby on Rails
- Hook up a database and Rails
- Use style sheets to beautify Rails Apps
- Present a consistent look and feel to your Web pages
- Link pages together
- Map database tables to Rails models
- Validate Model data
- Display flash messages and error messages
Prerequisites:
It is recommended that students have some experience with writing J2EE applications and have a basic knowledge of Ruby.
Course Outline:
- Chapter 1: Speeding Along With Rails
- Introduction
- Getting Started
- The root Directory
- Starting the Server
- Generating Models and Controllers
- Launching Web Applications
- Embedded Ruby
- Exploring the Model
- irb - The Ruby Console
- The Rails Console
- Displaying the Employee Records
- controller.rhtml
- link_to
- Creating the Form to Add an Employee
- The flash Hash
- Model Validation
- Linking Two Models
- Adding Tasks
- Showing Tasks
- Deleting a Task
- Listing Both Employees and Tasks
- Adding a Field to the Task Table
- application_helpers.rb
- What We Have Omitted



