spec/dummy/app/models/message.rb in feeder-0.3.0 vs spec/dummy/app/models/message.rb in feeder-0.5.1
- old
+ new
@@ -1,3 +1,5 @@
class Message < ActiveRecord::Base
has_one :feeder_item, as: :feedable, class_name: 'Feeder::Item'
+
+ feedable
end