-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
Before:
class A include Mongoid::Document field :at, as: :aliased_timestamp, type: Time end a = A.create a.touch(:aliased_timestamp) a.reload.aliased_timestamp # => nil
After:
class A include Mongoid::Document field :at, as: :aliased_timestamp, type: Time end a = A.create a.touch(:aliased_timestamp) a.reload.aliased_timestamp # => Time