Ruby on Rails
Ruby-on-Rails is a web application framework. Following the principles of DRY (Don’t Repeat Yourself) and “Convention over Configuration”, Ruby-on-Rails enables web application developers to create dynamic and easily deployed websites in a very short amount of time. Based on the powerful Ruby language Rails is a set of Ruby templates and scripts used to build an entire web application and connect with a wide variety of database back-ends. VTC Author Al Anderson will help a beginner gain an understanding of the basics of web applications and work your way to developing a full-on web application. To begin learning Ruby-on-Rails simply click the links.
Introduction
Welcome
What this Tutorial Will Cover
What Rails Is
Web Applications & Rails
What Rails can Do
Where Rails Came From
Rails Philosophies
More Rails Philosophies
MVC
Model
View Pt.1
View Pt.2
Controller
Tools
Command Line
Text Editor
Rails & Ruby Overview
Installation
Installation on Mac Pt.1
Installation on Mac Pt.2
MySQL Install on Mac
Troubleshooting Mac Install
Installation on Windows
MySQL Install on Windows
One-stop-shop on Mac
Keeping Rails Up to Date
Rails & Ruby In Detail
Ruby Pt.1
Ruby Pt.2
Ruby Pt.3
Rails Application Directory
Rails Scripts
Generate Script
Generate Script - Models
Generate Script - Controllers
Generate Script - Mailer
Generate Script - Scaffold
Generate Script - Other Generators
Server Script
Console Script
The Basics
Your First Rails Application
Creating a MySQL Database
Connecting to MySQL with Rails
Generating a Model
Basic Links
Basic Forms
Models
ActiveRecord
Attributes
Date-Time Fields
Primary Keys
Advanced Models
Model Relationships
Model Relationships - One-to-One
Model Relationships - One-to-Many
Model Relationships - Many-to-Many
Basic Searches
Advanced Searches
Scaffolding
What is Scaffolding
Modifying Scaffolding Pt.1
Modifying Scaffolding Pt.2
Controllers
What are Controllers
Routing
URL Generation
Cookies
Sessions
Talking Between Actions
Filters
Views
What are Views
RHTML
Assistance
More Assistance
Assistance - Forms
Assistance - Text Fields & Areas
Text Field & Area Tags
Form Assistance - Date/Time Fields
Form Assistance - Selection Lists
Form Assistance - Radio Buttons & Checkboxes
Form Assistance - File Uploads Pt.1
Form Assistance - File Uploads Pt.2
Form Assistance - Links
Pagination
Layouts
Partial Page Templates
Testing
What is Testing
Testing Models
Testing Controllers
Security
Security Overview
SQL Issues
CSS Issues
Ajax
What is AJAX or Web 2.0
Some GUI Tricks
Some More Tricks
Deployment
Choosing a Production Platform
Basics of Deployment
Backups
Finishing It Up
Rails Resources
Where to Go Next
Wrap-Up
Credits
About this Author