File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
giza.log
3
- source *
4
3
build /
5
4
.yardoc
Original file line number Diff line number Diff line change @@ -824,3 +824,14 @@ Support for individually caching criteria objects has been dropped in Mongoid 8.
824
824
825
825
In order to get caching functionality, enable the Mongoid Query Cache. See the
826
826
section on :ref:`Query Cache <query-cache>` for more details.
827
+
828
+ New Caching Behavior of ``<association>_ids`` Methods
829
+ -----------------------------------------------------
830
+
831
+ If you call an ``<association>_ids`` method, such as ``member_ids``, on an
832
+ association previously loaded into memory, Mongoid 8.0 uses the in-memory collection to satisfy the query
833
+ instead of issuing a new query to the database.
834
+
835
+ To force an ``<association>_ids`` method to issue a new database query,
836
+ you can either reset the association or reload the parent record.
837
+
You can’t perform that action at this time.
0 commit comments