spec/dummy/app/models/blog.rb in brightcontent-attachments-2.0.29 vs spec/dummy/app/models/blog.rb in brightcontent-attachments-2.0.30
- old
+ new
@@ -1,7 +1,3 @@
class Blog < ActiveRecord::Base
- include Brightcontent::Attachable
-
- def attachment_styles
- { test: "200x200" }
- end
+ has_attached_files test: "200x200"
end