Sha256: b782f6784b17a2f67ea8199a497cfe6958c2dc9b04b540b546c08a0debb9c098

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

module ActiveRecord::NullRelation
  if method_defined?(:or) and not method_defined?(:rails5_or)
    alias rails5_or or
    def or(*other)
      rails5_or(RailsOr.parse_parameter(self, *other))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_or-1.1.9 lib/rails_or/patches/null_relation.rb