Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The source code for the article I wrote on Backends in Rails 3.1
Ruby JavaScript CoffeeScript
Latest commit 9dbf717 @iain Also compile backend.js
Failed to load latest commit information.
app Precompile assets
config Also compile backend.js
doc Rails project with some models
lib Add flash messages to failed update and create actions
public Also compile backend.js
script Rails project with some models
vendor Apply Twitter bootstrap
Gemfile Precompile assets
Gemfile.lock Precompile assets Add a simple readme
Rakefile Rails project with some models Rails project with some models

Simple Backend Example

This is the source code accomponying my blogpost over at

Getting up and running

You'll need Ruby 1.9.2 and PostgreSQL.

Just like any Rails app:

bundle install
rake db:setup
rails server

Copyright 2011, Iain Hecker. Released under the MIT license.

Something went wrong with that request. Please try again.