will-paginate
Will_Paginate --- Set the Starting record?
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:[详细]
2023-01-22 23:18 分类:问答will-paginate issues for searchresults in ruby on rails
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[详细]
2023-01-22 10:59 分类:问答What's special about :conditions => [a_field IN (.., .., ..)]?
The following result sets work well with will_paginate: Members.all(:limit => 5).paginate(:page => params[:page])[详细]
2023-01-21 19:03 分类:问答will paginate, nested routes, ruby, rails
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.[详细]
2023-01-21 10:55 分类:问答jQuery call for a partial doesn't work if there is RoR code in it?
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[详细]
2023-01-20 01:57 分类:问答will_paginate and named_routes
I have some problems using will_paginate and named routes. Here is some code (my site is in Spanish language):[详细]
2023-01-16 13:57 分类:问答will_paginate ajax pagination with thinking sphinx
Has anyone ever tried paginating a thinking sphinx result set thru ajax? I have this is in my controller action:[详细]
2023-01-16 02:40 分类:问答What am I doing wrong in this paginate_by_sql call?
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[详细]
2023-01-16 02:29 分类:问答TypeError: can't convert Post into Array
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:[详细]
2023-01-15 03:31 分类:问答How to stop will_paginate from getting every post from the database
I am just playing around with Ruby on Rails 3.0 with a simple message board and found several issues with will_paginate.[详细]
2023-01-14 17:50 分类:问答