Skip to content

Releases: rubysherpas/paranoia

Moving from Rails 4.1 to Rails 5.1

14 Apr 20:05
Compare
Choose a tag to compare
Merge pull request #396 from rubysherpas/version-2.3.0

Version 2.3.0

v2.2.1

16 Feb 18:32
Compare
Choose a tag to compare

Rails 5 Support

26 Oct 13:29
Compare
Choose a tag to compare

Happy hacking 😸

Rails 5

12 Jul 20:50
Compare
Choose a tag to compare
Rails 5 Pre-release
Pre-release

A lot of you have been waiting for this guy, well, here he is! Paranoia with Rails 5 support is on the way. 2.2.0.pre is simply a pre release. Please use this gem for all your paranoia needs. If you discover a bug, you're highly encouraged to submit a PR to help the utterly paranoid.

Changes

  • Ruby 2.0 or greater is required
  • Rails 5.0.0.beta1.1 support @pigeonworks @halostatue and @gagalago
  • Previously #really_destroyed? may have been defined on non-paranoid models, it is now only available on paranoid models, use regular #destroyed? instead.

v2.1.0

24 Jan 00:44
Compare
Choose a tag to compare

Major changes

  • #destroyed? is no longer overridden. Use #paranoia_destroyed? for the existing behaviour. Washington Luiz
  • #persisted? is no longer overridden.
  • ActiveRecord 4.0 no longer has #destroy! as an alias for #really_destroy.
  • #destroy will now raise an exception if called on a readonly record.
  • #destroy on a hard deleted record is now a successful noop.
  • #destroy on a new record will set deleted_at (previously this raised an error)
  • #destroy and #delete always return self when successful.

Bug Fixes

  • Calling #destroy twice will not hard-delete records. Use #really_destroy if this is desired.
  • Fix errors on non-paranoid has_one dependent associations

v2.1.0.pre

22 Jan 22:35
Compare
Choose a tag to compare
v2.1.0.pre Pre-release
Pre-release
Version 2.1.0.pre

v2.0.5

22 Jan 22:10
Compare
Choose a tag to compare

Bug fixes

v2.0.4

03 Dec 04:01
Compare
Choose a tag to compare

Features

Bug Fixes

  • Fix initialization problems when missing table or no database connection #186
  • Fix broken restore of has_one associations #185 #171 Martin Sereinig