Skip to content

Instantly share code, notes, and snippets.

View nixme's full-sized avatar

Gopal Patel nixme

  • Qualified.com
  • San Francisco
  • X @nixme
View GitHub Profile
source "life://127.0.0.1"
gem "knowledge"
gem "happiness"
gem "longevity", "~>85.0", :require => "age"
gem "health"
gem "responsibility", "0.5.1a"
gem "wisdom"
gem "fun"
@trydionel
trydionel / backbone.rails.js
Created November 28, 2010 16:47
Makes Backbone.js play nicely with default Rails setup
//
// Backbone.Rails.js
//
// Makes Backbone.js play nicely with the default Rails setup, i.e.,
// no need to set
// ActiveRecord::Base.include_root_in_json = false
// and build all of your models directly from `params` rather than
// `params[:model]`.
//
// Load this file after backbone.js and before your application JS.