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

11 lines
311 B
Ruby
Raw Normal View History

2016-10-11 21:03:37 -04:00
# frozen_string_literal: true
2018-11-10 17:54:07 -05:00
2016-06-30 05:21:55 -04:00
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