We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The definition for the where method in Rails 6.1 is the next one
where
def where(*args) if args.empty? WhereChain.new(spawn) elsif args.length == 1 && args.first.blank? self else spawn.where!(*args) end end def where!(opts, *rest) # :nodoc: self.where_clause += build_where_clause(opts, rest) self end
The definition for this library is the next one:
def where(opts = :chain, *rest) if opts.is_a?(Hash) query = spawn translated_attrs = translated_attributes(opts) untranslated_attrs = untranslated_attributes(opts) unless untranslated_attrs.empty? query.where!(untranslated_attrs, *rest) end translated_attrs.each do |key, value| if value.is_a?(String) query.where!(":value = any(avals(#{key}))", value: value) else super end end query else super end end
We need to find a way to fix this incompatibility in terms of parameters to make it work in Rails 6.1 and next.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The definition for the
where
method in Rails 6.1 is the next oneThe definition for this library is the next one:
We need to find a way to fix this incompatibility in terms of parameters to make it work in Rails 6.1 and next.
The text was updated successfully, but these errors were encountered: