rails/activerecord/test/cases/validations
Edouard CHIN b677adede0 Move the ActiveModel:Errors#full_message method to the Error class:
- One regression introduced by the "AM errors as object" features is
  about the `full_messages` method.

  It's currently impossible to call that method if the `base` object
  passed in the constructor of `AM::Errors` doesn't respond to the
  `errors` method.
  That's because `full_messages` now makes a weird back and forth trip

  `AM::Errors#full_messages` -> `AM::Error#full_message` -> `AM::Errors#full_message`

  Since `full_message` (singular) isn't needed by AM::Errors, I moved
  it to the `AM::Error` (singular) class. This way we don't need to
  grab the `AM::Errors` object from the base.
2019-07-16 14:28:38 +02:00
..
absence_validation_test.rb Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5 2018-12-21 02:05:27 +09:00
association_validation_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
i18n_generate_message_validation_test.rb Fall back to parent locale before it falls back to the :errors namespace 2019-03-04 16:54:06 -05:00
i18n_validation_test.rb Move the ActiveModel:Errors#full_message method to the Error class: 2019-07-16 14:28:38 +02:00
length_validation_test.rb Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5 2018-12-21 02:05:27 +09:00
presence_validation_test.rb Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5 2018-12-21 02:05:27 +09:00
uniqueness_validation_test.rb Replace “can not” with “cannot”. 2019-03-06 16:35:52 -05:00