Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | File encoding is defaulted to utf-8 in Ruby >= 2.1 | Akira Matsuda | 2015-09-18 | 1 | -1/+0 |
| | |||||
* | replace `repair_validations` with a disposable subclass. | Yves Senn | 2015-03-06 | 1 | -32/+33 |
| | |||||
* | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵ | Vipul A M | 2015-02-03 | 1 | -1/+0 |
| | | | | onwards. | ||||
* | Fix validations on child record when record parent has validate: false | eileencodes | 2015-02-01 | 1 | -3/+16 |
| | | | | | | | | | | | | | | Fixes #17621. This 5 year old (or older) issue causes validations to fire when a parent record has `validate: false` option and a child record is saved. It's not the responsibility of the model to validate an associated object unless the object was created or modified by the parent. Clean up tests related to validations `assert_nothing_raised` is not benefiting us in these tests Corrected spelling of "respects" It's better to use `assert_not_operator` over `assert !r.valid` | ||||
* | AR specific length validator to respect `marked_for_destruction`. | Yves Senn | 2014-12-30 | 1 | -0/+18 |
| | | | | | | | | Closes #7247. Conflicts: activerecord/CHANGELOG.md activerecord/test/models/owner.rb | ||||
* | move AR length validation tests into separate test-case. | Yves Senn | 2014-04-24 | 1 | -0/+47 |
Conflicts: activerecord/test/cases/validations/association_validation_test.rb |