1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/cases
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
..
serializers Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
type Add new exception message to datetime from hash cast 2018-10-21 10:05:48 +02:00
validations Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
attribute_assignment_test.rb Improve error message when assign wrong attributes to model 2018-04-28 16:27:16 +05:00
attribute_methods_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
attribute_set_test.rb Fix spellings for 'unmarshall(ing/ed)' & 'marshall(ing/ed)' 2018-10-02 13:55:39 +05:30
attribute_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
attributes_dirty_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
attributes_test.rb Add ActiveModel::Attributes#attributes 2018-02-07 18:11:14 -05:00
callbacks_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
conversion_test.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
dirty_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
errors_test.rb Add slice! method to ActiveModel::Errors 2018-11-21 08:56:19 +09:00
forbidden_attributes_protection_test.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
helper.rb Remove private def 2018-09-23 21:27:44 +05:30
lint_test.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
model_test.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
naming_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
railtie_test.rb Add global config for config.active_model.i18n_full_message 2018-06-05 13:25:24 -04:00
secure_password_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
serialization_test.rb Merge pull request #28270 from mmangino/dont_ignore_seralization_options 2018-02-27 23:42:15 +09:00
translation_test.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
validations_test.rb Use assert_empty and assert_not_empty 2018-01-25 23:32:59 -05:00