Use alias_method in acts_as_paranoid
alias defines these on ActiveRecord::Base itself, which is not what was intended. This behaviour previous differed between MRI and jruby.
Showing
Please
register
or
sign in
to comment
alias defines these on ActiveRecord::Base itself, which is not what was intended. This behaviour previous differed between MRI and jruby.