Sha256: 73c8a009d101316a0b7f043113244dbb397af1116e08faa7d3d256a113bdfd12
Contents?: true
Size: 195 Bytes
Versions: 3
Compression:
Stored size: 195 Bytes
Contents
module MyFeeds module Eater extend ActiveSupport::Concern def feeds_for scope Feed.where source_identify: scope.select(scope.klass.polymorphic_identify_column) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
my_feeds-0.1.1 | lib/my_feeds/eater.rb |
my_feeds-0.1.0 | lib/my_feeds/eater.rb |
my_feeds-0.0.1 | lib/my_feeds/eater.rb |