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
I use Rails with the Mongoid ORM. This is valid syntax in Mongoid, but it triggers an error using the Rails cop.
@repeat_allocations ||= shop.repeat_blockages .allocation .where.not.lt(end_date: options[:date]) .ne(table_ids: []) .reorder(start_date: :asc) .to_a
1 error occurred: An error occurred while Rails/WhereNotWithMultipleConditions cop was inspecting...
The text was updated successfully, but these errors were encountered:
Rails/WhereNotWithMultipleConditions
[Fix rubocop#938] Fix an error for `Rails/WhereNotWithMultipleConditi…
d6baea1
…ons` Fixes rubocop#938. This PR fixes an error for `Rails/WhereNotWithMultipleConditions` when using `where.not.lt(condition)` as a Mongoid API'.
Merge pull request #954 from koic/fix_an_error_for_rails_where_not_wi…
50c5fdb
…th_multiple_conditions [Fix #938] Fix an error for `Rails/WhereNotWithMultipleConditions`
Successfully merging a pull request may close this issue.
I use Rails with the Mongoid ORM. This is valid syntax in Mongoid, but it triggers an error using the Rails cop.
The text was updated successfully, but these errors were encountered: