1. 28 Jul, 2014 1 commit
    • Add note about different behaviors of `recover` vs `restore`. · b904d729
      The `acts_as_paranoid` gem (v0.4.1) uses assignment followed by a call
      to `#save` for restoring a record:
      
          # in #recover
          run_callbacks :recover do
            recover_dependent_associations(options[:recovery_window], options) if options[:recursive]
      
            self.paranoid_value = nil
            self.save
          end
      
      This runs any `update` callbacks as well as `recover` callbacks.
      
      Paranoia uses `#update_column` instead of `#save`, so no `update`
      callbacks are run when restoring a record.
      
      With this commit the difference in behavior is described in the section
      "Acts As Paranoid Migration" of the README.
      
      Fixes #134
      Dario Hamidi committed
  2. 08 Jul, 2014 4 commits
  3. 25 Jun, 2014 2 commits
  4. 13 Jun, 2014 1 commit
  5. 10 Apr, 2014 1 commit
  6. 08 Apr, 2014 4 commits
  7. 30 Mar, 2014 2 commits
  8. 20 Mar, 2014 1 commit
  9. 17 Mar, 2014 1 commit
  10. 11 Mar, 2014 2 commits
  11. 17 Feb, 2014 2 commits
  12. 15 Feb, 2014 1 commit
  13. 13 Feb, 2014 1 commit
  14. 30 Jan, 2014 1 commit
  15. 16 Jan, 2014 1 commit
  16. 09 Jan, 2014 1 commit
  17. 08 Jan, 2014 1 commit
  18. 06 Jan, 2014 2 commits
  19. 03 Jan, 2014 4 commits
  20. 18 Dec, 2013 1 commit
  21. 17 Dec, 2013 5 commits
  22. 16 Dec, 2013 1 commit