Commit 2f09ea2c by Ryan Bigg

Merge pull request #46 from andryunin/master

Fix compability with rails 4.0 wrt to run_destroy_callbacks deprecation
parents 84e2e040 1f0de404
......@@ -16,7 +16,7 @@ module Paranoia
end
def destroy
_run_destroy_callbacks { delete }
run_callbacks(:destroy) { delete }
end
def delete
......
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