Sha256: 899507160b086eb68f2a645f94b266d618b4e609690e52915e7dfd921afee6dd

Contents?: true

Size: 201 Bytes

Versions: 9

Compression:

Stored size: 201 Bytes

Contents

require_relative 'nodes/contained'

monkey_patch = Module.new do
  def contained other
    Nodes::Contained.new self, Nodes.build_quoted(other, self)
  end
end

Arel::Predications.prepend monkey_patch

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
graphql-filters-1.0.8 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.7 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.6 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.5 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.4 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.3 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.2 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.1 lib/graphql/filters/activerecord_patch/arel/predications.rb
graphql-filters-1.0.0 lib/graphql/filters/activerecord_patch/arel/predications.rb