class Homepage < ActiveRecord::Base belongs_to :user has_many :article_homepages attr_accessible :name, :article_id, :user_id end