Minimal Pagination Example (Rails + Ember)

https://gist.github.com/mharris717/6275219

Requires ActiveModelSerializers and WillPaginate.

Simple and works. Uses the “meta” functionality of AMS and Ember.

Obviously this functionality is barer than bare bones. Happy to post a full example site if people are interested.

1 Like

Also happy to package this up into a gem (or other package) if people have interest, please let me know.

Created a small library, available for browser and in NPM.

https://github.com/mharris717/ember-pagination

/sorry for crosspost

1 Like

@mharris717 it will be great if you add support for sorting on server side

on current version of ember 1.4 its not working ,setting up the plugin not working but show more link working in appending data but i don’t stop ,it continue loading data even current page exceeded the total pages .