app/models/ems/news.rb in ems-0.1.1 vs app/models/ems/news.rb in ems-0.1.2

- old
+ new

@@ -48,10 +48,10 @@ has_and_belongs_to_many :news, :join_table => 'ems_news_news', :association_foreign_key => "related_id" accepts_nested_attributes_for :news has_and_belongs_to_many :reports, :join_table => 'ems_news_reports' accepts_nested_attributes_for :reports - has_attached_file :image, :styles => {:image228x126 => "228x126"} + has_attached_file :image, :styles => { :image564x252 => "564x252#", :image312x189 => "312x189#", :image312x126 => "312x126", :image228x126 => "228x126"} has_many :assets, :as => :assetable accepts_nested_attributes_for :assets, :allow_destroy => true # Method to make sure we have all our default values set on the object