module MyFeeds::Eater
Public Instance Methods
feeds_for(scope)
click to toggle source
# File lib/my_feeds/eater.rb, line 5 def feeds_for scope Feed.where source_identity: scope.select(scope.klass.polymorphic_identity_column) end