mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
10 lines
311 B
Ruby
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
|