will-paginate
Will_paginate and geokit misbehavior (double query)
I\'m using will_paginate to paginate my geokit search results. The code works, however, when looking at the log it does double the geokit query when using the following will_paginate call:[详细]
2023-01-02 10:24 分类:问答Rails: Using will_paginate with a complex association find
I\'m encountering a problem with will_paginate while doing a complex find. :photohas_many:tags,:through => :tagships[详细]
2022-12-31 13:48 分类:问答Undefined method 'total_entries' after upgrading Rails 2.2.2 to 2.3.5
I am upgrading a Rails application from 2.2.2 to 2.3.5. The only remaining error is when I invoke total_entries for creating a jqgrid.[详细]
2022-12-30 08:14 分类:问答Showing pagination with only single page using will_paginate
I\'m using will_paginate as standard, but it only shows the pagination controls (< 1 2 > etc) when there\'s more than one page to display. Normally, this would be what is wanted, but I want to see[详细]
2022-12-29 08:51 分类:问答will_paginate route only works on page > 1
I have the following routes defined: map.resources :categories, :has_many => :downloads map.resources :downloads, :member => {:go开发者_如何学JAVA => :get}, :collection => {:tag => :ge[详细]
2022-12-26 21:13 分类:问答Customizing Number of Page Links Rendered With will_paginate?
I\'m using the will_paginate gem for my Rails project and it\'s working beautifully.Unfortunately, on paginated result sets with a larger number of pages, the link section is too wide.Instead of:[详细]
2022-12-26 17:31 分类:问答Rails (pagination and tags)
I stumbled upon a problem of how to make work together acts_as_taggable (on steroids) and will_paginate gems. What I found on this problem is this: http://www.mckinneystation.com/2007/08/20/pagination[详细]
2022-12-26 09:07 分类:问答Rails3 - will_paginate plugin strange output
I have the will_paginate plugin working in an applicati开发者_开发百科on, but when I paginate a resource it just spits out the HTML as text, doesn\'t provide links to the next pages and such.[详细]
2022-12-26 00:01 分类:问答Rails has_many conditions
c = \"(f.profile_id = #{self.id} OR f.friend_id = #{self.id})\" c += AND + \"(CASE WHEN f.profile_id=#{self.id} THEN f.friend_id ELSE f.profile_id END = p.id)\"[详细]
2022-12-25 07:10 分类:问答Is it possible to combine will_paginate with find_by_sql?
In my Rails application I want to use the will_paginate gem to pa开发者_运维百科ginate on my SQL query. Is that possible? I tried doing something like this but it didn\'t work:[详细]
2022-12-25 02:54 分类:问答