GitShow/tj/dm-pagination
tj

dm-pagination

Better DataMapper paging solution - framework independant - like will_paginate but better ;)

by tj
Star on GitHubFork

Ruby

55 stars17 forks7 contributorsQuiet · 14y agoSince 2009

Meet the team

See all 7 on GitHub →
tj
tj129 contributions
marcoow
marcoow13 contributions
kyledrake
kyledrake6 contributions
snusnu
snusnu5 contributions
josegonzalez
josegonzalez2 contributions
tmann-ttc
tmann-ttc1 contribution

Languages

View on GitHub →
Ruby100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 14y ago
See all on GitHub →
arturog
Preserve order of source collectionOpenPR

Hi, I think this commit would solve issue https://github.com/visionmedia/dm-pagination/issues/27 Not sure though, will test on my side. THX!

arturog · 12y ago
yayugu
dm-pager doesn't works with DataMapper 1.2.0OpenIssue

Soon DataMapper 1.2.0 will be release. But dm-pager doesn't works with 1.2.0.rc2

yayugu · 14y ago
tmann-ttc
For pager, if :last_page or :first_page text is empty, don't show those linksOpenIssue

This would provide an easy way to hide the first_page and last_page links

tmann-ttc · 15y ago

Recent fixes

View closed PRs →
dxg
OrderClosedIssue

Query order overrides default order set in models. lib/dm-pager/pagination.rb: line 43: :order => [:id.desc] This overrides default ordering set in models, eg: (inside model class): default_scope(:default).update(:order => [:created_at.desc])

dxg · 3y ago
tmann-ttc
Hides first and last page links if the link text is emptyMergedPR
tmann-ttc · 12y ago
josegonzalez
Updated paginate Helper for usage in Rails 3MergedPR

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.

josegonzalez · 12y ago
Structured data for AI agents

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.

·@ofershap

Replace github.com with gitshow.dev