app/models/feeder/item.rb in feeder-0.3.0 vs app/models/feeder/item.rb in feeder-0.5.1
- old
+ new
@@ -1,9 +1,5 @@
module Feeder
- class Item < ActiveRecord::Base
- belongs_to :feedable, polymorphic: true
-
- def type
- feedable_type.underscore
- end
+ class Item < ::ActiveRecord::Base
+ include Feeder::Concerns::Models::Item
end
end