app/models/georgia/content.rb in georgia-0.7.8 vs app/models/georgia/content.rb in georgia-0.8.0

- old
+ new

@@ -1,13 +1,11 @@ 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} + validates :locale, presence: true belongs_to :contentable, polymorphic: true belongs_to :image, class_name: Ckeditor::Picture end \ No newline at end of file