Commit b99fd225 by John Hawthorn

Alias destroyed? as really_destroyed?

parent 2b0db84f
......@@ -165,6 +165,7 @@ end
class ActiveRecord::Base
def self.acts_as_paranoid(options={})
alias :really_destroyed? :destroyed?
alias :destroy! :destroy
alias :delete! :delete
def really_destroy!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment