Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve the CHANGELOG entry [ci skip]

  • Loading branch information...
commit 8f17a834ae98cea28ceff22bf11ce346b867bc90 1 parent 2a29c7d
@rafaelfranca rafaelfranca authored
Showing with 14 additions and 2 deletions.
  1. +14 −2 activerecord/CHANGELOG.md
16 activerecord/CHANGELOG.md
@@ -1,7 +1,19 @@
-* Calling reset on a collection association should unload the assocation.
+* Reset the collection association when calling `reset` on it.
+
+ Before:
+
+ post.comments.loaded? # => true
+ post.comments.reset
+ post.comments.loaded? # => true
+
+ After:
+
+ post.comments.loaded? # => true
+ post.comments.reset
+ post.comments.loaded? # => false
Fixes #13777.
-
+
*Kelsey Schlarman*
* Make enum fields work as expected with the `ActiveModel::Dirty` API.
Please sign in to comment.
Something went wrong with that request. Please try again.