mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
892e38c78e
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. |
||
---|---|---|
.. | ||
absence_validation_test.rb | ||
acceptance_validation_test.rb | ||
callbacks_test.rb | ||
conditional_validation_test.rb | ||
confirmation_validation_test.rb | ||
exclusion_validation_test.rb | ||
format_validation_test.rb | ||
i18n_generate_message_validation_test.rb | ||
i18n_validation_test.rb | ||
inclusion_validation_test.rb | ||
length_validation_test.rb | ||
numericality_validation_test.rb | ||
presence_validation_test.rb | ||
validates_test.rb | ||
validations_context_test.rb | ||
with_validation_test.rb |