Skip to content

Instantly share code, notes, and snippets.

View mariusbutuc's full-sized avatar
🌏

Marius Butuc mariusbutuc

🌏
  • Toronto, ON
  • 11:47 (UTC -04:00)
View GitHub Profile
@mariusbutuc
mariusbutuc / application.rb
Created May 4, 2011 16:50
Including jQuery 1.6 and the Rails UJS adapter for jQuery as defaults
config.action_view.javascript_expansions[:defaults] = %w(http://code.jquery.com/jquery-1.6.min.js rails application)
@mariusbutuc
mariusbutuc / application.rb
Created April 21, 2011 20:39
Including the latest version of jQuery and the Rails UJS adapter for jQuery as defaults
config.action_view.javascript_expansions[:defaults] = %w(http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js rails application)
@mariusbutuc
mariusbutuc / gist:935409
Created April 21, 2011 20:35
Create a Rails application without Prototype support
$ rails new myCommentsApp --skip-prototype
@mariusbutuc
mariusbutuc / .gitignore
Created February 4, 2011 21:46
Augmented .gitignore based on the file from the Rails Tutorial
.bundle
.idea/*
config/database.yml
db/*.sqlite3*
log/*.log
*.log
tmp/**/*
tmp/*
doc/api
doc/app