Releases: listia/rails_soft_deletable
Releases · listia/rails_soft_deletable
v0.0.8
-
Add
with_delete
option to has_many, has_one, and belongs_to association methods:belongs_to :secret_file, with_deleted: true has_many :secrets, with_deleted: true has_one :secret, with_deleted: true
Note: To see deleted records for a has_many through association, the through model association must have
with_deleted
set totrue
.
v0.0.7
v0.0.6
v0.0.5
v0.0.4
- Changed gem activation method from:
acts_as_soft_deletable
tosoft_deletable
. - A record that is soft deleted will now return
false
forpersisted?
. This behaves more consistent with hard deletions. hard_delete!
andhard_destroy!
have been replaced withdelete(:hard)
anddestroy(:hard)
, respectively.