public
Fork of stevenbristol/lovd-by-less
Description: fork of Less Everything's socnet app. hacked! unstable!
Homepage: http://lovdbyless.com
Clone URL: git://github.com/courtenay/lovd-by-less.git
lovd-by-less / config / environment.rb
100644 31 lines (19 sloc) 0.975 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
 
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
 
Rails::Initializer.run do |config|
  
  # Cookie sessions (limit = 4K)
  config.action_controller.session = {
    :session_key => '_your_app_name',
    :secret => 'make a secure key here'
  }
  config.action_controller.session_store = :active_record_store
 
  # Use SQL instead of Active Record's schema dumper when creating the test database.
  # This is necessary if your schema can't be completely dumped by the schema dumper,
  # like if you have constraints or database-specific column types
  # config.active_record.schema_format = :sql
 
  # Activate observers that should always be running
  # config.active_record.observers = :cacher, :garbage_collector
 
  # Make Active Record use UTC-base instead of local time
  config.active_record.default_timezone = :utc
  
  
  
end