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 086bedcab3 ❄️
2016-10-12 10:03:37 +09:00

7 lines
243 B
Ruby

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