class Post < ActiveRecord::Base has_many :comments end class Comment < ActiveRecord::Base belongs_to :post end pry(main)> Post.find(1) +----+-------------+------+-------------------------+-------------------------+ | id | title | body | created_at | updated_at | +----+-------------+------+-------------------------+-------------------------+ | 1 | sample post | | 2014-11-21 13:54:14 UTC | 2014-11-2