Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Infinite scrolling with Spine & Rails

branch: master
Octocat-spinner-32 app refactor waypoint calculation
Octocat-spinner-32 config first commit
Octocat-spinner-32 db first commit
Octocat-spinner-32 doc first commit
Octocat-spinner-32 lib first commit
Octocat-spinner-32 log first commit
Octocat-spinner-32 public remove unecessary scripts
Octocat-spinner-32 script first commit
Octocat-spinner-32 test first commit
Octocat-spinner-32 vendor first commit
Octocat-spinner-32 .gitignore first commit
Octocat-spinner-32 Gemfile first commit
Octocat-spinner-32 Gemfile.lock first commit
Octocat-spinner-32 Procfile first commit
Octocat-spinner-32 README.md refactor waypoint calculation
Octocat-spinner-32 Rakefile first commit
Octocat-spinner-32 config.ru first commit
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.