Fix up tests and runner
[ebb.git] / test / rails_app / config / environment.rb
blob2af27f14689446ed323601ad826d3d83e7e128e0
1 # Be sure to restart your 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 RAILS_GEM_VERSION = '2.0.2' 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.
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.
19   # Skip frameworks you're not going to use (only works if using vendor/rails).
20   # To use Rails without a database, you must remove the Active Record framework
21   config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
23   # Only load the plugins named here, in the order given. By default, all plugins 
24   # in vendor/plugins are loaded in alphabetical order.
25   # :all can be used as a placeholder for all plugins not explicitly named
26   # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
28   # Add additional load paths for your own custom dirs
29   # config.load_paths += %W( #{RAILS_ROOT}/extras )
30   
31   # No need for log files
32   config.logger = Logger.new(nil)
34   # Force all environments to use the same logger level
35   # (by default production uses :info, the others :debug)
36   # config.log_level = :debug
38   # Your secret key for verifying cookie session data integrity.
39   # If you change this key, all old sessions will become invalid!
40   # Make sure the secret is at least 30 characters and all random, 
41   # no regular words or you'll be exposed to dictionary attacks.
42   config.action_controller.session = {
43     :session_key => '_rails_app_session',
44     :secret      => 'cb7141365b4443eff37e7122473e704ceae95146a4028930b21300965fe6abec51e3e93b2670a914b3b65d06058b81aadfe6b240d63e7d7713db044b42a6e1c1'
45   }
46   
47   config.action_controller.allow_forgery_protection = false
49   # Use the database for sessions instead of the cookie-based default,
50   # which shouldn't be used to store highly confidential information
51   # (create the session table with 'rake db:sessions:create')
52   # config.action_controller.session_store = :active_record_store
54   # Use SQL instead of Active Record's schema dumper when creating the test database.
55   # This is necessary if your schema can't be completely dumped by the schema dumper,
56   # like if you have constraints or database-specific column types
57   # config.active_record.schema_format = :sql
59   # Activate observers that should always be running
60   # config.active_record.observers = :cacher, :garbage_collector
62   # Make Active Record use UTC-base instead of local time
63   # config.active_record.default_timezone = :utc
64 end