rails course day 2
TRANSCRIPT
AgendaInspecting Scaffolded Application.
routes
controllers
Migrations
Models
Views and Partials
Rails command line
Controllers
In the center of MVC.
Delegates all the tasks.
handling different formats.
RESTful controllers
notices and redirections.
•instance variables and rendering.
Migrations Tracking changes on schema nightmare.
Generate Migration by convention
To be able to rollback schema changes
rails g migration
Migration < ActiveRecord::Migration
Up,Down and change
rollingback
Models
Generation
Validations
ORM
Model methods
Model Static methods
Manipulation of models using (rails console).
STI