aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDaniel Colson <danieljamescolson@gmail.com>2019-08-01 17:42:44 -0400
committerDaniel Colson <danieljamescolson@gmail.com>2019-08-01 17:42:44 -0400
commit159a1210444e30f165bd546506f5d3fabc5c779f (patch)
tree1ca963f20fbb0c8fa3509887e56a0445bfaa3f8c /activerecord
parent89399ed88ce2e88581401109a6e57ddca03554ea (diff)
downloadrails-159a1210444e30f165bd546506f5d3fabc5c779f.tar.gz
rails-159a1210444e30f165bd546506f5d3fabc5c779f.tar.bz2
rails-159a1210444e30f165bd546506f5d3fabc5c779f.zip
Remove duplicate method definition
no_color! is already defined in [`Rails::Command::Behavior`][behavior], which gets [included into `Rails:Generators`][include]. This duplication came about in 6813edc7d9 when we introduced the Thor command structure. We have [test coverage][] to ensure this method still behaves correctly on `Rails:Generators`. [behavior]: https://github.com/rails/rails/blob/f7e91c7224560fbd3e95c238a0e8bb362799bcb7/railties/lib/rails/command/behavior.rb#L12-L14 [include]: https://github.com/rails/rails/blob/f7e91c7224560fbd3e95c238a0e8bb362799bcb7/railties/lib/rails/generators.rb#L18 [test coverage]: https://github.com/rails/rails/blob/f7e91c7224560fbd3e95c238a0e8bb362799bcb7/railties/test/generators_test.rb#L163-L168
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions