1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/railties
Ryuta Kamizono 892e38c78e Enable Style/RedundantBegin cop to avoid newly adding redundant begin block
Currently we sometimes find a redundant begin block in code review
(e.g. https://github.com/rails/rails/pull/33604#discussion_r209784205).

I'd like to enable `Style/RedundantBegin` cop to avoid that, since
rescue/else/ensure are allowed inside do/end blocks in Ruby 2.5
(https://bugs.ruby-lang.org/issues/12906), so we'd probably meets with
that situation than before.
2018-12-21 06:12:42 +09:00
..
collection_cache_association_loading.rb Only preload misses on multifetch cache 2018-03-06 14:10:45 +11:00
console_sandbox.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
controller_runtime.rb Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
databases.rake Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00