RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Building Relationships in a Database and Querying with ActiveRecord

How exactly do we model relationships between different database tables, and how do we use those relationships in ActiveRecord? With Database Relationships and ActiveRecord [video] you’ll learn how to map a has_many and belongs_to relationship and more in databases, and cover how to query and join the data in ActiveRecord. This is the second week of my Database and Rails class at the University of Texas.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in