Skip to content
Infinite scrolling with Spine & Rails
JavaScript Ruby CoffeeScript
Failed to load latest commit information.
app
config first commit Oct 17, 2011
db
doc first commit Oct 17, 2011
lib/tasks
log first commit Oct 17, 2011
public remove unecessary scripts Oct 18, 2011
script first commit Oct 17, 2011
test first commit Oct 17, 2011
vendor
.gitignore
Gemfile first commit Oct 17, 2011
Gemfile.lock first commit Oct 17, 2011
Procfile first commit Oct 17, 2011
README.md refactor waypoint calculation Oct 20, 2011
Rakefile first commit Oct 17, 2011
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.