Introduction
Faster, better, less painful website development
()
Using the exercise files
()
1. What Is Ruby on Rails?
Ruby on Rails introduction
()
Understand MVC architecture
()
2. Get Started with Ruby on Rails
Create a new Ruby on Rails project
()
Examine the file structure of a Ruby on Rails project
()
Configure a Ruby on Rails project
()
Access a Ruby on Rails project from a browser
()
Generate a controller and view
()
Examine how server requests are handled
()
Define routes in a Ruby on Rails project
()
Challenge: Experiment
()
3. Controllers, Views, and Dynamic Content
Render a view template for a browser
()
Redirect controller actions
()
Define view templates using HTML
()
Use instance variables to set values in the template
()
Create links to other webpages
()
Defining and reading URL parameters
()
Challenge: Dynamic templates
()
Solution: Dynamic templates
()
4. Databases and Migrations
Create a database for a Ruby on Rails project
()
Write migrations to define database changes
()
Use the command line to generate migrations
()
Run migrations to change the database schema
()
Challenge: Migrations for the CMS
()
Solution: Migrations for the CMS
()
5. Models and ActiveRecord
Understanding ActiveRecord and ActiveRelation
()
Using the Rails console to interact with a Rails project
()
Create records using ActiveRecord
()
Update records using ActiveRecord
()
Delete records using ActiveRecord
()
Find records using ActiveRecord
()
Define one-to-many associations between models
()
6. CRUD, REST, and Resourceful Routes
Learning about CRUD (Create, Read, Update, Delete)
()
Using REST for resourceful routes in a Rails project
()
Using resourceful URL helpers
()
7. Controllers and CRUD
Read action: Index
()
Read action: Show
()
Adding basic forms to templates
()
Create action: New
()
Create action: Create
()
Using strong parameters to regulate input
()
Update actions: Edit and update
()
Using partials and helpers to organize code
()
Delete actions: Delete and destroy
()
Challenge: Pages CRUD
()
Solution: Pages CRUD
()
Ex_Files_Ruby_Rails_6_EssT_Ch_2.zip
(216.1 MB)
Ex_Files_Ruby_Rails_6_EssT_Ch_6.zip
(95.5 MB)
Ex_Files_Ruby_Rails_6_EssT_Ch_3.zip
(253.4 MB)
Ex_Files_Ruby_Rails_6_EssT_Ch_7.zip
(320.1 MB)
Ex_Files_Ruby_Rails_6_EssT_Ch_5.zip
(190.3 MB)
Ex_Files_Ruby_Rails_6_EssT_Ch_4.zip
(190.7 MB)