class View < ActiveRecord::Base belongs_to :post end