Better DataMapper paging solution - framework independant - like will_paginate but better ;)
by tjRuby
Last 12 weeks · 0 commits
1 of 6 standards met
I was having issues with the Paginate helper as is in Rails 3 where it was specifying the instance variable and should have been referencing instead. Perhaps it was a Rails 2-ism, but regardless, I've fixed that issue in the first commit. If it was that way for a reason, perhaps the following might be better: Otherwise, that change is good. As well, I've updated the Helper to allow overriding of the uri used for pagination. I won't always want the when paginating.
Repository: tj/dm-pagination. Description: Better DataMapper paging solution - framework independant - like will_paginate but better ;) Stars: 55, Forks: 17. Primary language: Ruby. Languages: Ruby (100%). Open PRs: 1, open issues: 13. Last activity: 14y ago. Community health: 28%. Top contributors: tj, marcoow, kyledrake, snusnu, josegonzalez, tmann-ttc.