spec/models/like.rb in my_feeds-0.1.1 vs spec/models/like.rb in my_feeds-1.0.0
- old
+ new
@@ -1,7 +1,8 @@
class Like < ActiveRecord::Base
include MyFeeds::Associate
- self.feed_polymorphic = :likeable
+
+ init_feeds_polymorphic :likeable
#attr_accessible
belongs_to :likeable, polymorphic: true
end