Let me show an example:
I have 2 models:
class User < ActiveRecord::Base has_many :posts end class Post < ActiveRecord::Base belongs_to :use