Sha256: 3afe1ac2b60384f83316a81aca2217946f791a9669e8f742594bac5702508d16

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

module ActiveRecord
  class Relation

    def qry_options(*args)
      DirectiveRecord::Relation.new(self).qry_options(*args)
    end

    def to_qry(*args)
      klass.to_qry qry_options(*args)
    end

    def qry(*args)
      klass.qry qry_options(*args)
    end

    def qry_value(*args)
      klass.qry_value qry_options(*args)
    end

    def qry_values(*args)
      klass.qry_values qry_options(*args)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
directiverecord-0.1.32 lib/directive_record/gem_ext/active_record/relation.rb