Changeset 7786
- Timestamp:
- 10/08/07 01:22:56 (1 year ago)
- Files:
-
- branches/1-2-stable/railties/CHANGELOG (modified) (1 diff)
- branches/1-2-stable/railties/environments/environment.rb (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-2-stable/railties/CHANGELOG
r7740 r7786 1 *SVN* 2 3 * Move custom inflections example so available before route generation. #6829 [dcmanges, Nate, piotrb] 4 5 1 6 *1.2.4* (October 4th, 2007) 2 7 branches/1-2-stable/railties/environments/environment.rb
r5620 r7786 1 1 # Be sure to restart your web server when you modify this file. 2 2 3 # Uncomment below to force Rails into production mode when 3 # Uncomment below to force Rails into production mode when 4 4 # you don't control web/app server and can't set it the proper way 5 5 # ENV['RAILS_ENV'] ||= 'production' … … 13 13 Rails::Initializer.run do |config| 14 14 # Settings in config/environments/* take precedence over those specified here 15 15 16 16 # Skip frameworks you're not going to use (only works if using vendor/rails) 17 17 # config.frameworks -= [ :action_web_service, :action_mailer ] … … 23 23 # config.load_paths += %W( #{RAILS_ROOT}/extras ) 24 24 25 # Force all environments to use the same logger level 25 # Force all environments to use the same logger level 26 26 # (by default production uses :info, the others :debug) 27 27 # config.log_level = :debug … … 32 32 33 33 # Use SQL instead of Active Record's schema dumper when creating the test database. 34 # This is necessary if your schema can't be completely dumped by the schema dumper, 34 # This is necessary if your schema can't be completely dumped by the schema dumper, 35 35 # like if you have constraints or database-specific column types 36 36 # config.active_record.schema_format = :sql … … 41 41 # Make Active Record use UTC-base instead of local time 42 42 # config.active_record.default_timezone = :utc 43 43 44 # Add new inflection rules using the following format 45 # (all these examples are active by default): 46 # Inflector.inflections do |inflect| 47 # inflect.plural /^(ox)$/i, '\1en' 48 # inflect.singular /^(ox)en/i, '\1' 49 # inflect.irregular 'person', 'people' 50 # inflect.uncountable %w( fish sheep ) 51 # end 52 44 53 # See Rails::Configuration for more options 45 54 end 46 47 # Add new inflection rules using the following format48 # (all these examples are active by default):49 # Inflector.inflections do |inflect|50 # inflect.plural /^(ox)$/i, '\1en'51 # inflect.singular /^(ox)en/i, '\1'52 # inflect.irregular 'person', 'people'53 # inflect.uncountable %w( fish sheep )54 # end55 55 56 56 # Add new mime types for use in respond_to blocks: