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

Mark ActiveRecord/Aliases as unsafe autocorrect #98

Merged
merged 1 commit into from Aug 1, 2019

Commits on Jul 30, 2019

  1. 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.
    prathamesh-sonpatki committed Jul 30, 2019
    Copy the full SHA
    038af92 View commit details
    Browse the repository at this point in the history