-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
This passes:
datum = DateTime.now visitor.update_attributes(last_page_view: datum) visitor.last_page_view.utc.to_s.should == datum.utc.to_s
But,
datum = DateTime.now visitor.set(:last_page_view, datum) visitor.last_page_view.utc.to_s.should == datum.utc.to_s
This returns
NoMethodError:
undefined method `bson_dump' for Fri, 07 Sep 2012 09:28:46 +0200:DateTime
Same thing happens with find_and_modify.