require "active_record"
require "shibaraku/active_record_ext"

module Shibaraku
end

ActiveRecord::Base.include(Shibaraku::ActiveRecordExt)

require "active_record"
require "shibaraku/active_record_ext"

module Shibaraku
end

ActiveSupport.on_load :active_record do
  ActiveRecord::Base.include(Shibaraku::ActiveRecordExt)
end

Use ActiveSupport lazy load hook to initialize ActiveRecord
Use ActiveSupport lazy load hook to initialize ActiveRecord

Fix breaking `active_record.belongs_to_required_by_default` configuration.
