Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/applications/molecule/config/environment.rb

Revision 4228, 1.3 kB (checked in by david, 3 years ago)

More work later

Line 
1 # Be sure to restart your web 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 = '1.1.2' unless defined? RAILS_GEM_VERSION
9
10 # Bootstrap the Rails environment, frameworks, and default configuration
11 require File.join(File.dirname(__FILE__), 'boot')
12
13 Rails::Initializer.run do |config|
14   config.frameworks -= [ :action_web_service ]
15   config.action_controller.session_store = :active_record_store
16
17   # Activate observers that should always be running
18   # config.active_record.observers = :cacher, :garbage_collector
19
20   # Make Active Record use UTC-base instead of local time
21   # config.active_record.default_timezone = :utc
22 end
23
24 ActionController::Base.param_parsers[Mime::ATOM] = :xml_simple
25
26 # Add new inflection rules using the following format
27 # (all these examples are active by default):
28 # Inflector.inflections do |inflect|
29 #   inflect.plural /^(ox)$/i, '\1en'
30 #   inflect.singular /^(ox)en/i, '\1'
31 #   inflect.irregular 'person', 'people'
32 #   inflect.uncountable %w( fish sheep )
33 # end
34
35 # Include your application configuration below
Note: See TracBrowser for help on using the browser.