YoVDO

Ruby on Rails: Get More From ActiveRecord

Offered By: LinkedIn Learning

Tags

Ruby on Rails Courses Database Management Courses Data Validation Courses ActiveRecord Courses

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
1. Smarter Models
  • Smart models by design
  • More ActiveRecord query methods
  • Select data from a query
  • Named scopes
  • Non-database attributes
2. Data Validations
  • Overview of validation methods
  • Write validations
  • Use the multipurpose validates method
  • Write custom validations
3. ActiveRecord Callbacks
  • Overview of callbacks
  • Use callbacks to automate actions
  • Execute callbacks conditionally
4. ActiveRecord Associations
  • 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
Conclusion
  • Next steps

Taught by

Kevin Skoglund

Related Courses

Rails with Active Record and Action Pack
Johns Hopkins University via Coursera
Excel Skills for Business: Intermediate II
Macquarie University via Coursera
Programming 103: Saving and Structuring Data
Raspberry Pi Foundation via FutureLearn
Everyday Excel, Part 1
University of Colorado Boulder via Coursera
Creating Dashboards in Google Spreadsheets
Coursera Project Network via Coursera