Skip to content
New issue

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

remove warnings from FinderMethods #23605

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

y-yagi
Copy link
Member

@y-yagi y-yagi commented Feb 10, 2016

This removes the following warnings.

activerecord/lib/active_record/relation/finder_methods.rb:252: warning: ambiguous first argument; put parentheses or a space even after `-' operator
activerecord/lib/active_record/relation/finder_methods.rb:258: warning: ambiguous first argument; put parentheses or a space even after `-' operator
activerecord/lib/active_record/relation/finder_methods.rb:268: warning: ambiguous first argument; put parentheses or a space even after `-' operator
activerecord/lib/active_record/relation/finder_methods.rb:274: warning: ambiguous first argument; put parentheses or a space even after `-' operator

This removes the following warnings.

```
activerecord/lib/active_record/relation/finder_methods.rb:252: warning: ambiguous first argument; put parentheses or a space even after `-' operator
activerecord/lib/active_record/relation/finder_methods.rb:258: warning: ambiguous first argument; put parentheses or a space even after `-' operator
activerecord/lib/active_record/relation/finder_methods.rb:268: warning: ambiguous first argument; put parentheses or a space even after `-' operator
activerecord/lib/active_record/relation/finder_methods.rb:274: warning: ambiguous first argument; put parentheses or a space even after `-' operator
```
@rails-bot
Copy link

r? @senny

(@rails-bot has picked a reviewer for you, use r? to override)

kaspth added a commit that referenced this pull request Feb 11, 2016
@kaspth kaspth merged commit 3a7a021 into rails:master Feb 11, 2016
@kaspth
Copy link
Contributor

kaspth commented Feb 11, 2016

Thanks!

1 similar comment
@y-yagi
Copy link
Member Author

y-yagi commented Feb 11, 2016

Thanks!

@y-yagi y-yagi deleted the remove_warnings_in_finder_methods branch February 11, 2016 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants