Skip to content

Commit 95e82f1

Browse files
authored
Clean up a method that was missed in in #5521 (#5530)
This method should have been removed when the current_date code was removed.
1 parent c5191d5 commit 95e82f1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/mongoid/contextual/atomic.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,6 @@ def collect_each_operations(ops)
240240
operations[database_field_name(field)] = { "$each" => Array.wrap(value).mongoize }
241241
end
242242
end
243-
244-
def translate_date_type(type)
245-
Mongoid::Persistable::Datable.translate_date_field_spec(type)
246-
end
247243
end
248244
end
249245
end

0 commit comments

Comments
 (0)