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 11.DS_Store
22giza.log
3- source *
43build /
54.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.
824824
825825In order to get caching functionality, enable the Mongoid Query Cache. See the
826826section 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