aboutsummaryrefslogtreecommitdiffstats
path: root/.codeclimate.yml
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-02-21 12:49:25 +0000
committerAndrew White <andrew.white@unboxed.co>2017-02-21 15:30:47 +0000
commitc116eaf2217abbc83ad76ac09c4fb89e033e1cdd (patch)
tree36ccb62c9606f2d016b29a7895d2de013a4134d0 /.codeclimate.yml
parent81a6761af2b20183c78853caa4daea4ccf6b4cb7 (diff)
downloadrails-c116eaf2217abbc83ad76ac09c4fb89e033e1cdd.tar.gz
rails-c116eaf2217abbc83ad76ac09c4fb89e033e1cdd.tar.bz2
rails-c116eaf2217abbc83ad76ac09c4fb89e033e1cdd.zip
Prefer remove_method over undef_method
Using `undef_method` means that when a route is removed any other implementations of that method in the ancestor chain are inaccessible so instead use `remove_method` which restores access to the ancestor.
Diffstat (limited to '.codeclimate.yml')
0 files changed, 0 insertions, 0 deletions