mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
✂️ p
This commit is contained in:
parent
cf642d7804
commit
80a6c88cc4
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ module Kaminari
|
|||
begin
|
||||
require 'kaminari/mongo_mapper'
|
||||
rescue LoadError
|
||||
ActiveSupport::Deprecation.warn p('Kaminari MongoMapper support has been extracted to a separate gem, and will be removed in the next 1.0 release. Please bundle kaminari-mongo_mapper gem.')
|
||||
ActiveSupport::Deprecation.warn 'Kaminari MongoMapper support has been extracted to a separate gem, and will be removed in the next 1.0 release. Please bundle kaminari-mongo_mapper gem.'
|
||||
require 'kaminari/models/mongo_mapper_extension'
|
||||
::MongoMapper::Document.send :include, Kaminari::MongoMapperExtension::Document
|
||||
::Plucky::Query.send :include, Kaminari::PluckyCriteriaMethods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue