[英]how can we use will_paginate in ruby on rails 3.0.3
他们的will_paginate是否会支持3.0.3上的红宝石?
Yes. 是。 In beta - https://github.com/mislav/will_paginate/tree/rails3 .
在测试版中-https: //github.com/mislav/will_paginate/tree/rails3 。
Yes, Its still in beta and we have used will paginate successfully in a production rails project.The bug that i have seen so far is the count of items at times is wrong. 是的,它仍处于测试阶段,我们已经使用过,它将在生产Rails项目中成功分页。到目前为止,我所看到的错误是项目计数有时是错误的。 You can work around it by firing your own count query and populate it.
您可以通过触发自己的计数查询并填充它来解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.