mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 23:11:47 +01:00
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@131 a4c988fc-2ded-0310-b66e-134b36920a42
19 lines
845 B
Ruby
19 lines
845 B
Ruby
# In the development environment your application's code is reloaded on
|
|
# every request. This slows down response time but is perfect for development
|
|
# since you don't have to restart the webserver when you make code changes.
|
|
|
|
# Log error messages when you accidentally call methods on nil.
|
|
require 'active_support/whiny_nil'
|
|
|
|
# Reload code; show full error reports; disable caching.
|
|
Dependencies.mechanism = :load
|
|
ActionController::Base.consider_all_requests_local = true
|
|
ActionController::Base.perform_caching = false
|
|
|
|
# The breakpoint server port that script/breakpointer connects to.
|
|
BREAKPOINT_SERVER_PORT = 42531
|
|
|
|
# Unique cookies
|
|
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = "TrackDev"
|
|
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:tmpdir] = "#{RAILS_ROOT}/tmp"
|
|
|