I have a photo_album which has several photos, IDs: 4,9,10,11,31 -- all for photo_album:3 I have the following for my DEF 开发者_运维知识库SHOW in my Photos controller:
my search results are stored in the @searchresults variable as subarrays - for example it has 3 sub-class of results books开发者_运维百科, people, carnames, such that each of this results are availabl
The following result sets work well with will_paginate: Members.all(:limit => 5).paginate(:page => params[:page])
I\'m trying to get will paginate to link to my nested route instead of the regular posts variable. I know I\'m supposed to pass some params to paginate but I don\'t know how to pass them.
I am trying to get paginating to work with jQuery. I am using the will_paginate gem. It works normally (with no javascript). I tried following a railscast (http://railscasts.com/episodes/174-paginatio
I have some problems using will_paginate and named routes. Here is some code (my site is in Spanish language):
Has anyone ever tried paginating a thinking sphinx result set thru ajax? I have this is in my controller action:
Forgive me, guys; I\'m still a complete RoR newbie. I\'m trying to use the will_paginate gem to add pagination to search results in my Rails app. Thus far it\'s been working great. However, I\'ve hit
I\'m using Rails 3 and will_paginate. Pagination works fine in my Posts controller but in my Tags controller I get an error on the second Tag id. Here\'s the error:
I am just playing around with Ruby on Rails 3.0 with a simple message board and found several issues with will_paginate.