Skip to content
Infinite scrolling with Spine & Rails
JavaScript Ruby CoffeeScript
Failed to load latest commit information.
app refactor waypoint calculation Oct 20, 2011
config first commit Oct 17, 2011
db first commit Oct 17, 2011
doc first commit Oct 17, 2011
lib/tasks first commit Oct 17, 2011
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 first commit Oct 17, 2011
.gitignore first commit Oct 17, 2011
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 19, 2011
Rakefile first commit Oct 17, 2011
config.ru first commit Oct 17, 2011

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.