Save for later

Active Record Associations in Rails

This course is a part of Rails Development, a 13-course Track series from Treehouse.

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

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
Segments in this Workshop
    Get Details and Enroll Now

    OpenCourser is an affiliate partner of Treehouse.

    Get a Reminder

    Not ready to enroll yet? We'll send you an email reminder for this course

    Send to:

    Treehouse

    Rating Not enough ratings
    Length 100-minute Ruby Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Instructor Jay McGavren
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags Ruby

    Get a Reminder

    Get an email reminder about this course

    Send to:

    Similar Courses

    Careers

    An overview of related careers and their average salaries in the US. Bars indicate income percentile.

    Counseling Theories & Models Part-Time Faculty $17k

    Trainer of Evidence Based Models $54k

    Ruby on Rails / JavaScript Developer $84k

    Ruby on Rails Developer 1 2 $89k

    Front-end Rails Developer $93k

    Rails Designer $97k

    Rails and iOS development $112k

    Assistant Adjunct Professor Statistical Models $122k

    Risk Analytics Tools and Models Program Manager $136k

    Senior Rails Engineer $140k

    Master Ruby on Rails Developer $141k

    Software Developer (Ruby on Rails) $147k

    Write a review

    Your opinion matters. Tell us what you think.

    Treehouse

    Rating Not enough ratings
    Length 100-minute Ruby Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Instructor Jay McGavren
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags Ruby

    Similar Courses

    Sorted by relevance

    Like this course?

    Here's what to do next:

    • Save this course for later
    • Get more details from the course provider
    • Enroll in this course
    Enroll Now