Skip to content

Commit c01c994

Browse files
committed
MONGOID-5222 remove invalid_value error
1 parent 7793719 commit c01c994

File tree

3 files changed

+0
-30
lines changed

3 files changed

+0
-30
lines changed

lib/config/locales/en.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,6 @@ en:
372372
from the child side which association to go in."
373373
resolution: "Set the values from the parent, or redefine the association
374374
with only a single definition in the parent."
375-
invalid_value:
376-
message: "The value %{value} cannot be written to a field of type %{field_class}."
377-
summary: "The value %{value} could not be coerced to type %{field_class}."
378-
resolution: "Verify that the value to be set corresponds to the field definition."
379375
mixed_relations:
380376
message: "Referencing a(n) %{embedded} document from the %{root}
381377
document via a non-embedded association is not allowed since the

lib/mongoid/errors.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
require "mongoid/errors/invalid_storage_options"
3838
require "mongoid/errors/invalid_storage_parent"
3939
require "mongoid/errors/invalid_time"
40-
require "mongoid/errors/invalid_value"
4140
require "mongoid/errors/inverse_not_found"
4241
require "mongoid/errors/mixed_relations"
4342
require "mongoid/errors/mixed_client_configuration"

lib/mongoid/errors/invalid_value.rb

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)