-
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark ActiveRecord/Aliases as unsafe autocorrect
We faced an issue where our custom `update_attributes` method call was changed to `update` but the method name remained same in the method definition. ```ruby def update_attributes end update_attributes ``` ```ruby def update_attributes end update ``` So the cop is not safe for auto correct.
- Loading branch information
1 parent
aedb97c
commit 7c55d9b
Showing
3 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters