File tree Expand file tree Collapse file tree 5 files changed +9
-65
lines changed Expand file tree Collapse file tree 5 files changed +9
-65
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,15 @@ The previously deprecated ``Document#to_a`` method has been removed in
310
310
Mongoid 8.
311
311
312
312
313
+ Removed ``Mongoid::Errors::EagerLoad`` Exception Class
314
+ ------------------------------------------------------
315
+
316
+ The previously deprecated ``Mongoid::Errors::EagerLoad`` exception class
317
+ has been removed in Mongoid 8. It has not been used by Mongoid since
318
+ version 7.1.1 when eager loading for polymorphic ``belongs_to`` associations
319
+ was implemented.
320
+
321
+
313
322
Replaced ``Mongoid::Criteria#geo_spacial`` with ``#geo_spatial``
314
323
----------------------------------------------------------------
315
324
Original file line number Diff line number Diff line change 72
72
resolution : " Search for attributes that are in the database or set
73
73
the Mongoid.raise_not_found_error configuration option to false,
74
74
which will cause a nil to be returned instead of raising this error."
75
- eager_load :
76
- message : " Eager loading :%{name} is not supported since it is a
77
- polymorphic belongs_to association."
78
- summary : " Mongoid cannot currently determine the classes it needs to
79
- eager load when the association is polymorphic. The parents reside in
80
- different collections so a simple id lookup is not sufficient enough."
81
- resolution : " Don't attempt to perform this action and have patience,
82
- maybe this will be supported in the future."
83
75
empty_config_file :
84
76
message : " Empty configuration file: %{path}."
85
77
summary : " Your mongoid.yml configuration file appears to be empty."
Original file line number Diff line number Diff line change 6
6
require "mongoid/errors/criteria_argument_required"
7
7
require "mongoid/errors/document_not_destroyed"
8
8
require "mongoid/errors/document_not_found"
9
- require "mongoid/errors/eager_load"
10
9
require "mongoid/errors/empty_config_file"
11
10
require "mongoid/errors/in_memory_collation_not_supported"
12
11
require "mongoid/errors/invalid_collection"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments