Active Record Associations in Rails
Focused View
Jay McGavren
1:21:48
97 View
Stage1-Video1Introduction.mp4
02:53
Stage1-Video2Has Many Associations.mp4
08:53
Stage1-Video3Belongs To Associations.mp4
02:20
Stage1-Video4Variations on Foreign Key Migrations.mp4
06:31
Stage1-Video5Has and Belongs to Many Associations.mp4
06:33
Stage1-Video6Has Many Through Associations.mp4
07:27
Stage1-Video7Has One Associations.mp4
03:39
Stage2-Video1Rendering Associated Models in Views.mp4
03:15
Stage2-Video2Rendering Associated Models Using Partials.mp4
04:29
Stage2-Video3_v2Nested Routes and Resources.mp4
04:32
Stage2-Video4Creating an Associated Record.mp4
08:41
Stage2-Video5Updating an Associated Record.mp4
06:41
Stage2-Video6Deleting an Associated Record.mp4
03:04
Stage3-Video1Polymorphic Options.mp4
07:37
Stage3-Video2Destroying Dependent Models.mp4
01:27
Stage3-Video3More Association Methods.mp4
03:46
Description
About this Course
Most of your Rails models are going to be connected to other models in some way. An Author has many Articles, and each Article belongs to an Author. A Doctor has many Patients, and a Patient may have many Doctors as well. Rails uses associations to make it easy to track these relationships in your database.
What you'll learn
- has_many
- belongs_to
- has_one
- has_and_belongs_to_many
- has_many :through
More details
User Reviews
Rating
average 0
Focused display
Category
Jay McGavren
Instructor's CoursesResident Ruby and Go teacher for Treehouse. Author of Head First Ruby, a tutorial book on the core Ruby language.

Treehouse
View courses TreehouseTreehouse or is an online technology school that offers beginner to advanced courses in web design, web development, mobile development and game development. Its courses are aimed at beginners looking to learn computer coding skills for a career in the tech industry.
- language english
- Training sessions 16
- duration 1:21:48
- Release Date 2023/04/11