spec/dummy/app/models/blog.rb in brightcontent-attachments-2.0.6 vs spec/dummy/app/models/blog.rb in brightcontent-attachments-2.0.7
- old
+ new
@@ -1,4 +1,4 @@
class Blog < ActiveRecord::Base
attr_accessible :body, :name, :featured
- has_many :attachments, as: :attachable, dependent: :destroy, class_name: Brightcontent::Attachment
+ include Brightcontent::Attachable
end