Ruby on Rails: Get More From ActiveRecord
Offered By: LinkedIn Learning
Course Description
Overview
Explore how models and associations in Ruby on Rails provide an object-oriented interface to relational databases, automate common tasks, and speed up web application development.
Syllabus
Introduction
- Efficient, object-oriented data management
- What you should know
- Using the exercise files on GitHub
- Smart models by design
- More ActiveRecord query methods
- Select data from a query
- Named scopes
- Non-database attributes
- Overview of validation methods
- Write validations
- Use the multipurpose validates method
- Write custom validations
- Overview of callbacks
- Use callbacks to automate actions
- Execute callbacks conditionally
- Overview of associations
- Create a one-to-many association
- Use a one-to-many association
- Destroy dependent related records
- Has and belongs to many associations
- Rich join associations
- Traverse a rich join association
- Join tables during queries
- Next steps
Taught by
Kevin Skoglund
Related Courses
Web Application ArchitecturesUniversity of New Mexico via Coursera Full Stack Foundations
Udacity Rails with Active Record and Action Pack
Johns Hopkins University via Coursera Ruby on Rails: An Introduction
Johns Hopkins University via Coursera Ruby on Rails Web Services and Integration with MongoDB
Johns Hopkins University via Coursera