Sha256: 13d12b4e131e60627149f9914700aabd1bb8983e38b7e8fd98cd7afadef70f41

Contents?: true

Size: 354 Bytes

Versions: 9

Compression:

Stored size: 354 Bytes

Contents

module Georgia
  class Content < ActiveRecord::Base

    acts_as_taggable_on :keywords
    attr_accessible :keyword_list

    attr_accessible :title, :text, :excerpt, :keywords, :locale, :image_id

    validates :title, length: {maximum: 255}

    belongs_to :contentable, polymorphic: true
    belongs_to :image, class_name: Ckeditor::Picture

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
georgia-0.7.8 app/models/georgia/content.rb
georgia-0.7.7 app/models/georgia/content.rb
georgia-0.7.6 app/models/georgia/content.rb
georgia-0.7.5 app/models/georgia/content.rb
georgia-0.7.4 app/models/georgia/content.rb
georgia-0.7.3 app/models/georgia/content.rb
georgia-0.7.2 app/models/georgia/content.rb
georgia-0.7.1 app/models/georgia/content.rb
georgia-0.7.0 app/models/georgia/content.rb