Sha256: bd65dc38017b8a7dc1515e05e6b2a251ac8515135b16fc8d7f2c60aba4b09dfb

Contents?: true

Size: 174 Bytes

Versions: 6

Compression:

Stored size: 174 Bytes

Contents

module Rooftop
  module Scopes
    def self.included(base)
      base.send(:scope, :with_embedded_resources, -> {where(include_embedded_resources: true)})
    end


  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rooftop-0.1.4.1 lib/rooftop/scopes.rb
rooftop-0.1.4 lib/rooftop/scopes.rb
rooftop-0.1.3 lib/rooftop/scopes.rb
rooftop-0.1.2 lib/rooftop/scopes.rb
rooftop-0.1.1 lib/rooftop/scopes.rb
rooftop-0.0.7.4 lib/rooftop/scopes.rb