test/rails/config/environment.rb in gettext-1.10.0-mswin32 vs test/rails/config/environment.rb in gettext-1.90.0
- old
+ new
@@ -5,14 +5,15 @@
# ENV['RAILS_ENV'] ||= 'production'
$KCODE = "U"
# Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.0.1' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
+$:.insert RAILS_ROOT + "/../../lib"
Rails::Initializer.run do |config|
# Settings in config/environments/* take precedence over those specified here
# Skip frameworks you're not going to use (only works if using vendor/rails)
@@ -42,9 +43,13 @@
# Make Active Record use UTC-base instead of local time
# config.active_record.default_timezone = :utc
# See Rails::Configuration for more options
+ config.action_controller.session = {
+ :session_key => '_blog_session',
+ :secret => '481e79cd6d557ee64d26390fb85013f3'
+ }
end
# Add new inflection rules using the following format
# (all these examples are active by default):
# Inflector.inflections do |inflect|