-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
To recreate, try:
> model.set(:deleted_at, 30.days.ago) > model.deleted_at # displays the correct value > model.reload > model.deleted_at # has not been updated
where
Unable to find source-code formatter for language: model. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
is an object that implements Mongoid::Paranoia.
I've confirmed this behaviour for several paranoid documents and the issue seems to be isolated to Mongoid version 3.0.