Skip to content

Instantly share code, notes, and snippets.

@russ
Created March 2, 2009 22:43
Show Gist options
  • Save russ/73040 to your computer and use it in GitHub Desktop.
Save russ/73040 to your computer and use it in GitHub Desktop.
require RAILS_ROOT + '/config/environment'
use Rack::Lock
use ActionController::Failsafe
use ActionController::Session::CookieStore, {:session_key=>"_temp_session", :secret=>"itsyoursecret"}
use ActionController::ParamsParser
use Rack::MethodOverride
use ActiveRecord::QueryCache
run ActionController::Dispatcher.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment