Commit 1f0de404 by Maxim Andryunin

fix compability with callbacks from rails 4

parent 84e2e040
...@@ -16,7 +16,7 @@ module Paranoia ...@@ -16,7 +16,7 @@ module Paranoia
end end
def destroy def destroy
_run_destroy_callbacks { delete } run_callbacks(:destroy) { delete }
end end
def delete 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