English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 10m | 497 MB
In Ruby on Rails 7 Essential Training, instructor Kevin Skoglund shows you how to create full-featured, object-oriented web applications with the latest version of the popular, open-source Ruby on Rails framework. Kevin steps through the complete process–from the fundamental concepts and best practices behind the Rails framework, to how to build a complete application with dynamic, database-driven content. Using a content management system as an example project, he shows you how to structure databases; build database-driven, object-oriented models; route incoming requests; render pages with dynamic content; and process and validate form data. Kevin finishes with a detailed discussion of controllers and related HTML code.
Table of Contents
Introduction
1 Faster, better, less painful website development
2 Get the most out of the exercise files
Get Started with Ruby on Rails
3 Core concepts
4 Create a new Ruby on Rails project
5 Configure a Ruby on Rails project
6 Access a Ruby on Rails project from a browser
7 Generate a controller and view
8 Define routes in a Ruby on Rails project
Controllers, Views, and Dynamic Content
9 Render a view template for a browser
10 Redirect controller actions
11 Define view templates using ERB
12 Use instance variables to set values in the template
13 Create links to other web pages
14 Define and read URL parameters
Databases and Migrations
15 Write migrations to define database changes
16 Use the command line to generate migrations
17 Run migrations to change the database schema
Models and ActiveRecord
18 ActiveRecord and ActiveRelation
19 Use the Rails console to interact with a Rails project
20 Create records using ActiveRecord
21 Update records using ActiveRecord
22 Delete records using ActiveRecord
23 Find records using ActiveRecord
24 Define one-to-many associations between models
CRUD, REST, and Resourceful Routes
25 Learn about CRUD (create, read, update, delete)
26 Use REST for resourceful routes in a Rails project
27 Use resourceful URL helpers
Controllers and CRUD
28 Read actions Index and show
29 Create action New
30 Create action Create
31 Update actions Edit and update
32 Use partials to organize code
33 Delete actions Delete and destroy
Conclusion
34 Next steps
Resolve the captcha to access the links!