module UndeletableRails4Extensions

Public Instance Methods

destroy!() click to toggle source
# File lib/undeletable.rb, line 49
def destroy!
  raise ActiveRecord::RecordNotDestroyed.new("#{self} is undeletable")
end