MVC Review

Routing System
- Routing rules in config/routes.rb
- Default routing rules
- Online documentation for routing rules
Controller
- Data preparation before display
- Handles login process
- Handles authorization (restricts access)
- Default view
- Using render or redirect_to
- Online documentation for controller methods
Model
- Interface to database tables
- Object-based using Object-relational mapping (ORM)
- Migrations
- Validations
- User model provides authentication methods
ActiveRecord is the default ORM for Rails
Views
- Rails tags
- View helpers (for links and images)
- Basic forms and model-based forms