Learn how to build dynamic web apps with Ruby on Rails 7, the newest version of Ruby on Rails.
Overview
Syllabus
Introduction
- Faster, better, less painful website development
- Get the most out of the exercise files
- Core concepts
- Create a new Ruby on Rails project
- Configure a Ruby on Rails project
- Access a Ruby on Rails project from a browser
- Generate a controller and view
- Define routes in a Ruby on Rails project
- Render a view template for a browser
- Redirect controller actions
- Define view templates using ERB
- Use instance variables to set values in the template
- Create links to other web pages
- Define and read URL parameters
- Write migrations to define database changes
- Use the command line to generate migrations
- Run migrations to change the database schema
- ActiveRecord and ActiveRelation
- Use 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
- Learn about CRUD (create, read, update, delete)
- Use REST for resourceful routes in a Rails project
- Use resourceful URL helpers
- Read actions: Index and show
- Create action: New
- Create action: Create
- Update actions: Edit and update
- Use partials to organize code
- Delete actions: Delete and destroy
- Next steps
Taught by
Kevin Skoglund