source: ruby/branches/0.5/config/environment.rb@ 241

Last change on this file since 241 was 169, checked in by KOBAYASHI, Shinji, 15 years ago

adjust hierarchy

File size: 3.2 KB
Line 
1# Be sure to restart your server when you modify this file
2
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'
6
7# Specifies gem version of Rails to use when vendor/rails is not present
8#RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
9
10# Bootstrap the Rails environment, frameworks, and default configuration
11require File.join(File.dirname(__FILE__), 'boot')
12
13Rails::Initializer.run do |config|
14 # Settings in config/environments/* take precedence over those specified here.
15 # Application configuration should go into files in config/initializers
16 # -- all .rb files in that directory are automatically loaded.
17 # See Rails::Configuration for more options.
18
19 # Skip frameworks you're not going to use. To use Rails without a database
20 # you must remove the Active Record framework.
21 # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
22
23 # Specify gems that this application depends on.
24 # They can then be installed with "rake gems:install" on new installations.
25 # config.gem "bj"
26 # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
27 # config.gem "aws-s3", :lib => "aws/s3"
28
29 # Only load the plugins named here, in the order given. By default, all plugins
30 # in vendor/plugins are loaded in alphabetical order.
31 # :all can be used as a placeholder for all plugins not explicitly named
32 # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
33
34 # Add additional load paths for your own custom dirs
35 # config.load_paths += %W( #{RAILS_ROOT}/extras )
36
37 # Force all environments to use the same logger level
38 # (by default production uses :info, the others :debug)
39 # config.log_level = :debug
40
41 # Make Time.zone default to the specified zone, and make Active Record store time values
42 # in the database in UTC, and return them converted to the specified local zone.
43 # Run "rake -D time" for a list of tasks for finding time zone names. Uncomment to use default local time.
44 config.time_zone = 'UTC'
45
46 # Your secret key for verifying cookie session data integrity.
47 # If you change this key, all old sessions will become invalid!
48 # Make sure the secret is at least 30 characters and all random,
49 # no regular words or you'll be exposed to dictionary attacks.
50 config.action_controller.session = {
51 :session_key => '_terminology_session',
52 :secret => '1ea0f287b0aff2a17c7118ce51c923ba7dbbb864484499aefa03b79b57488265f13445ba44b6c0d1abe411f7bc2c8417edabadd611190532e7051a1a7319b707'
53 }
54
55 # Use the database for sessions instead of the cookie-based default,
56 # which shouldn't be used to store highly confidential information
57 # (create the session table with "rake db:sessions:create")
58 # config.action_controller.session_store = :active_record_store
59
60 # Use SQL instead of Active Record's schema dumper when creating the test database.
61 # This is necessary if your schema can't be completely dumped by the schema dumper,
62 # like if you have constraints or database-specific column types
63 # config.active_record.schema_format = :sql
64
65 # Activate observers that should always be running
66 # config.active_record.observers = :cacher, :garbage_collector
67end
Note: See TracBrowser for help on using the repository browser.