When I call paginate with kaminari on a collection of embedded documents I get the following error: (Access to the collection for Document is not allowed since it is an embedded document, please acc
Wasn\'t able to find a similar thread, so here goes. I just installed Kaminari for pagination. On the homepage, it worked perfectly, however, on my category pages it didn\'t:
I\'m using Kaminari to paginate some result from a query in which I\'m selecting distinct records. Consider the following controller code:
I have a page which is used for searching through listings by submitting data using the supplied forms. The form parameters are submitted via ajax (post request), a new record is created in the search
I\'m creating a search page that will do an application wide search on users, posts, and comments.开发者_开发问答 I currently have:
Ok so I have decided to use Kaminari for pagination in a rails 3 project.I have followed the video from RailsCasts http://railscasts.com/episodes/254-pagination-with-kaminari
I am using Kaminari for pagination and trying to use meta_search for column ordering.I would like my code to look like this:
I\'m trying to eager load a polymorphic association while also paginating using the Kaminari gem: @news_items = NewsItem.includes(:news_source).not_outdated
I\'m not sure i\'ve entitled the question correctly. In my project I have a categories controller with show action
Hi I wonder how to work around the problem I have with the pagination gem \"Kaminari\". For what I\'ve understood you cant paginate @user = User.all.page(5)?