Method: Cloudelete::ActiveRecord::InstanceMethods.included

Defined in:
lib/cloudelete.rb

.included(base) ⇒ Object



24
25
26
27
# File 'lib/cloudelete.rb', line 24

def self.included(base)
  base.send :alias_method, :delete!, :delete
  base.send :before_destroy, :delete_or_not
end