Skip to content
Infinite scrolling with Spine & Rails http://spine-infinite.herokuapp.com/
JavaScript Ruby CoffeeScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config first commit
db
doc first commit
lib/tasks
log
public
script first commit
test first commit
vendor
.gitignore
Gemfile
Gemfile.lock first commit
Procfile
README.md
Rakefile
config.ru

README.md

Introduction

This is an example of infinite scrolling using Spine and Rails.

You can find a live demo here.

Source

The files you need to inspect are:

  • app/assets/javascripts/app/models/page.coffee
  • app/assets/javascripts/app/controllers/pages.coffee
  • app/controllers/pages_controller.rb

Usage

bundle install
rake db:setup
rake db:seed

rails server thin

open http://localhost:3000
Something went wrong with that request. Please try again.