Skip to content

KelseyDH/will_paginate_endless_scroll_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

will_paginate w/ endless scroll example app

Example of a working Rails CRUD app using gem 'will_paginate', '~> 3.0.7' to implement endless/infinite scrolling.

The gem 'faker' was used to seed the project with fake data.

Demo

To Install in Local Development

Clone the repo:

git clone [email protected]:KelseyDH/will_paginate_endless_scroll_example.git
cd will_paginate_endless_scroll_example

Install dependencies:

bundle install

Migrate & Seed database:

bundle exec rake db:migrate db:seed

That's it, it's ready to go.

To Run:

Run like a normal rails app:

rails s

Then visit http://localhost:3000/

Contribute

Contributions are welcome! Just send me a pull-request.

Credit

About

A demonstration of how to create endless scrolling using the will_paginate gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published