Data, Technology & EngineeringEntertainment, Media & ArtsExplore OptionsFocus & PrepareTake Action

Ruby on Rails Models and Associations

Ruby on Rails can speed up and improve the development of full-featured web applications through powerful tools that provide an object-oriented interface to relational databases and automate common data tasks. In this course, extend your knowledge of Ruby on Rails as instructor Kevin Skoglund covers the built-in features of models and associations in Rails. Learn to apply named scopes, validations, callbacks, and associations to a sample project. Find out how to design smarter models with attributes not in the database and by leveraging efficient queries. Walk through the most useful built-in validation methods and learn to write custom validations. Discover how to trigger automated behaviors as data is saved to the database by using callbacks. Explore effective use of Active Record associations, investigate one-to-many and many-to-many relationships, and learn to construct queries that span several tables.

Learn More