Infinite scrolling with Spine & Rails
JavaScript Ruby CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib/tasks
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
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