organizze_permanent_records 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,7 +115,7 @@ module OrganizzePermanentRecords
115
115
  # we call save! instead of update_attribute so an ActiveRecord::RecordInvalid
116
116
  # error will be raised if the record isn't valid. (This prevents reviving records that
117
117
  # disregard validation constraints,)
118
- record.send(:update_without_callbacks)
118
+ record.send(:update)
119
119
  @attributes, @attributes_cache = record.attributes, record.attributes
120
120
  rescue Exception => e
121
121
  # trigger dependent record destruction (they were revived before this record,
@@ -136,10 +136,10 @@ module OrganizzePermanentRecords
136
136
  end
137
137
  if active_record_3?
138
138
  _run_destroy_callbacks do
139
- update_without_callbacks
139
+ update
140
140
  end
141
141
  run_callbacks :before_destroy
142
- update_without_callbacks
142
+ update
143
143
  run_callbacks :after_destroy
144
144
  end
145
145
  self
@@ -1,3 +1,3 @@
1
1
  module OrganizzePermanentRecords
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: organizze_permanent_records
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: