Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Realtime Spine app with Rails

branch: master
Octocat-spinner-32 app better way of fetching the model October 20, 2011
Octocat-spinner-32 config better way of fetching the model October 20, 2011
Octocat-spinner-32 db first commit October 19, 2011
Octocat-spinner-32 doc
Octocat-spinner-32 lib first commit October 19, 2011
Octocat-spinner-32 log first commit October 19, 2011
Octocat-spinner-32 public first commit October 19, 2011
Octocat-spinner-32 script first commit October 19, 2011
Octocat-spinner-32 test first commit October 19, 2011
Octocat-spinner-32 vendor first commit October 19, 2011
Octocat-spinner-32 .gitignore first commit October 19, 2011
Octocat-spinner-32 Gemfile first commit October 19, 2011
Octocat-spinner-32 Gemfile.lock first commit October 19, 2011
Octocat-spinner-32 Procfile first commit October 19, 2011
Octocat-spinner-32 README.md update readme October 19, 2011
Octocat-spinner-32 Rakefile first commit October 19, 2011
Octocat-spinner-32 config.ru
README.md

Introduction

This is an example of a realtime app 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/models/pusher.coffee
  • app/assets/javascripts/app/controllers/pages.coffee
  • app/controllers/pages_controller.rb
  • app/observers/pusher_observer.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.