socialforge/app/models/article_homepage.rb

6 lines
148 B
Ruby

class ArticleHomepage < ActiveRecord::Base
belongs_to :user
belongs_to :homepage
attr_accessible :content, :title, :user_id, :homepage_id
end