You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jmccartie I suspect you have will_paginate installed which is conflicting with the kaminari pagination gem that tr8n and will_filter seem to require. Here's a workaround that has will_paginate behave like kaminari:
Create config/initializers/kaminari.rb which contains:
require'kaminari'# Have will_paginate emulate Kaminari for the gems that have kaminari as a dependencyKaminari.configuredo |config|
config.page_method_name=:per_page_kaminariifdefined?(WillPaginate)moduleWillPaginatemoduleActiveRecordmoduleRelationMethodsdefper(value=nil)per_page(value)enddeftotal_count()countendendendmoduleCollectionMethodsalias_method:num_pages,:total_pagesendendendend
Add the following to the top of the app/helpers/application_helper.rb file:
Getting the following error trying to access "/
I've followed the Rails 3.2.2 setup instructions. "/tr8n/dashboard" works fine, but "/phrases" and a few other tabs throw this same error.
Any ideas?
The text was updated successfully, but these errors were encountered: