File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 372
372
from the child side which association to go in."
373
373
resolution : " Set the values from the parent, or redefine the association
374
374
with only a single definition in the parent."
375
+ invalid_value :
376
+ message : " Value of type %{value_class} cannot be written to a field of type %{field_class}"
377
+ summary : " Tried to set a value of type %{value_class} to a field of type %{field_class}"
378
+ resolution : " Verify if the value to be set correspond to field definition"
375
379
mixed_relations :
376
380
message : " Referencing a(n) %{embedded} document from the %{root}
377
381
document via a non-embedded association is not allowed since the
Original file line number Diff line number Diff line change 37
37
require "mongoid/errors/invalid_storage_options"
38
38
require "mongoid/errors/invalid_storage_parent"
39
39
require "mongoid/errors/invalid_time"
40
+ require "mongoid/errors/invalid_value"
40
41
require "mongoid/errors/inverse_not_found"
41
42
require "mongoid/errors/mixed_relations"
42
43
require "mongoid/errors/mixed_client_configuration"
You can’t perform that action at this time.
0 commit comments