-
Notifications
You must be signed in to change notification settings - Fork 901
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
Fix Style/Alias offenses #758
Conversation
@@ -252,6 +252,7 @@ def without_versioning(method = nil) | |||
|
|||
# Utility method for reifying. Anything executed inside the block will | |||
# appear like a new record. | |||
# rubocop: disable Style/Alias |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reposting my original comment here:
But the Alias false positive is an issue with Rubocop not parsing the instance_eval blocks properly. Making Rubocop happy for that case would actually end up breaking things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I submitted a fix to Rubocop here: rubocop/rubocop#3004
Not quite sure what is wrong with the build (the only failure is 2.3.0/AR4/Postgres), since everything passes locally for me with that configuration. |
Please rebase. |
Looks good. All the new Dropping I don't like inline linter comments, but these are temporary so I can live with it. Thanks Paul! |
From #752.