1 # Be sure to restart your web server when you modify this file.
3 # Uncomment below to force Rails into production mode when
4 # you don't control web/app server and can't set it the proper way
5 # ENV['RAILS_ENV'] ||= 'production'
7 # Specifies gem version of Rails to use when vendor/rails is not present
8 <%= '# ' if freeze %>RAILS_GEM_VERSION = '<%= Rails::VERSION::STRING %>' unless defined? RAILS_GEM_VERSION
10 # Bootstrap the Rails environment, frameworks, and default configuration
11 require File.join(File.dirname(__FILE__), 'boot')
13 Rails::Initializer.run do |config|
14 # Settings in config/environments/* take precedence over those specified here
16 # Skip frameworks you're not going to use (only works if using vendor/rails)
17 # config.frameworks -= [ :active_resource, :action_mailer ]
19 # Only load the plugins named here, by default all plugins in vendor/plugins are loaded
20 # config.plugins = %W( exception_notification ssl_requirement )
22 # Add additional load paths for your own custom dirs
23 # config.load_paths += %W( #{RAILS_ROOT}/extras )
25 # Force all environments to use the same logger level
26 # (by default production uses :info, the others :debug)
27 # config.log_level = :debug
29 # Your secret key for verifying cookie session data integrity.
30 # If you change this key, all old sessions will become invalid!
31 config.action_controller.session = {
32 :session_key => '_<%= app_name %>_session',
33 :secret => '<%= app_secret %>'
36 # Use the database for sessions instead of the file system
37 # (create the session table with 'rake db:sessions:create')
38 # config.action_controller.session_store = :active_record_store
40 # Use SQL instead of Active Record's schema dumper when creating the test database.
41 # This is necessary if your schema can't be completely dumped by the schema dumper,
42 # like if you have constraints or database-specific column types
43 # config.active_record.schema_format = :sql
45 # Activate observers that should always be running
46 # config.active_record.observers = :cacher, :garbage_collector
48 # Make Active Record use UTC-base instead of local time
49 # config.active_record.default_timezone = :utc
51 # See Rails::Configuration for more options
53 # Application configuration should go into files in config/initializers
54 # -- all .rb files in that directory is automatically loaded