module Restorable
Public Instance Methods
paranoia_destroy_attributes()
click to toggle source
# File lib/models/concerns/restorable.rb, line 21 def paranoia_destroy_attributes { removed_at: current_time_from_proper_timezone, removed: nil } end
paranoia_restore_attributes()
click to toggle source
# File lib/models/concerns/restorable.rb, line 14 def paranoia_restore_attributes { removed_at: nil, removed: false } end