This repository has been archived by the owner on Dec 31, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest version of kaminari (0.1.3)
Updating to fix deprecation warning following Rails 3.2 upgrade: DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Kaminari::PageScopeMethods instead. (called from include at app/models/stratify/activity.rb:3) Unfortunately, Kaminari 1.1.3 has an open bug related to Mongoid: https://github.com/amatsuda/kaminari/issues/145 For now, we will work around this bug (which rears its head in ActivitiesController#index) by wrapping the Mongoid query results in a call to Kaminari.paginate_array.
- Loading branch information