diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-03-25 15:58:23 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-12-30 10:25:58 +0100 |
commit | 2b12288139f9bad6cf6d058d93af66cdf598dda9 (patch) | |
tree | 439daa4ce91c71baf46906561196ff0323707292 /activerecord/CHANGELOG.md | |
parent | ecb1981bfd3ffaca3a3efd110fc85380ece8191d (diff) | |
download | rails-2b12288139f9bad6cf6d058d93af66cdf598dda9.tar.gz rails-2b12288139f9bad6cf6d058d93af66cdf598dda9.tar.bz2 rails-2b12288139f9bad6cf6d058d93af66cdf598dda9.zip |
AR specific length validator to respect `marked_for_destruction`.
Closes #7247.
Conflicts:
activerecord/CHANGELOG.md
activerecord/test/models/owner.rb
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 1c0e453fd8..53d5ec07a3 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,10 @@ +* `validates_size_of` / `validates_length_of` do not count records, + which are `marked_for_destruction?`. + + Fixes #7247. + + *Yves Senn* + * Ensure `first!` and friends work on loaded associations. Fixes #18237. |