1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/kaminari-activerecord/lib/kaminari/activerecord.rb
Akira Matsuda acbcbc8beb Format
2018-11-11 13:04:43 +09:00

10 lines
311 B
Ruby

# frozen_string_literal: true
require "kaminari/activerecord/version"
require 'active_support/lazy_load_hooks'
ActiveSupport.on_load :active_record do
require 'kaminari/core'
require 'kaminari/activerecord/active_record_extension'
::ActiveRecord::Base.send :include, Kaminari::ActiveRecordExtension
end