mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Only add extensions to direct descendents of ActiveRecord::Base
This commit is contained in:
parent
5de1a974f4
commit
f634362eb1
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module Kaminari
|
|||
include Kaminari::ActiveRecordRelationMethods
|
||||
include Kaminari::PageScopeMethods
|
||||
end
|
||||
end
|
||||
end if kls.superclass == ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue