spec/dummy/app/models/blog.rb in brightcontent-attachments-2.0.7 vs spec/dummy/app/models/blog.rb in brightcontent-attachments-2.0.8
- old
+ new
@@ -1,4 +1,8 @@
class Blog < ActiveRecord::Base
attr_accessible :body, :name, :featured
include Brightcontent::Attachable
+
+ def attachment_styles
+ { test: "200x200" }
+ end
end