Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Sample app demonstrating Spine and Rails integration
branch: master

This branch is 3 commits ahead, 14 commits behind maccman:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
Procfile
README
Rakefile
config.ru
readme.md

readme.md

Ruby Conf Brazil 2011 - Tutorial 1

Example of a Javascript MVC Applicacion with Spine(www.spinejs.com) Framework , a Rails 3.1 Application connected to MongoDB(www.mongodb.org)

Pre-requisites

Install and Run MongoDB. Instructions on their web-site(www.mongodb.org)

MongoDB Configuration

*Add "mongomapper" and "bsonext" GEMS to your Gemfile

  1. Create a file name mongo.rb in config/initializers with the following code https://gist.github.com/1285032 ( Change [APP-NAME] with your App's name ) *Add "include MongoMapper::Document" to your Models Classes *Remember to add the Heroku Free HQ Resource to your App. (mongo.rb is configured to work with heroku)
Something went wrong with that request. Please try again.