Commit 42cb1df7 by John Hawthorn

Only require monkey patches on active_record 5.2

parent 1e097eb3
require 'active_record' unless defined? ActiveRecord
require 'paranoia/active_record_5_2'
if [ActiveRecord::VERSION::MAJOR, ActiveRecord::VERSION::MINOR] == [5, 2]
require 'paranoia/active_record_5_2'
end
module Paranoia
@@default_sentinel_value = nil
......
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