Sha256: 59cc789d0ecf66bd1f1380a89956b8f75ef1bef5f952a8fe92f810bca01b68fb
Contents?: true
Size: 582 Bytes
Versions: 15
Compression:
Stored size: 582 Bytes
Contents
module Gluttonberg class Blog < ActiveRecord::Base self.table_name = "gb_blogs" include Content::Publishable include Content::SlugManagement belongs_to :user has_many :articles, :dependent => :destroy validates_presence_of :name is_versioned :non_versioned_columns => ['state' ,'published_at' , 'moderation_required' ] acts_as_taggable_on :tag clean_html [:description] attr_accessible :user_id, :name, :slug, :description, :moderation_required, :seo_title, :seo_keywords, :seo_description, :fb_icon_id, :state, :published_at end end
Version data entries
15 entries across 15 versions & 1 rubygems