working integration controller
[has_many_polymorphs.git] / test / integration / app / config / environment.rb.canonical
blob00225db32fa669302a29f9c5e1ff3116c256b13b
2 RAILS_GEM_VERSION = ENV['MULTIRAILS_RAILS_VERSION'] if ENV['MULTIRAILS_RAILS_VERSION']
4 require File.join(File.dirname(__FILE__), 'boot')
5 require 'action_controller'
7 Rails::Initializer.run do |config|
8   
9   if ActionController::Base.respond_to? 'session='
10     config.action_controller.session = {:session_key => '_app_session', :secret => '22cde4d5c1a61ba69a81795322cde4d5c1a61ba69a817953'}
11   end
12   
13   config.load_paths << "#{RAILS_ROOT}/app/models/person" # moduleless model path
14 end
16 # Dependencies.log_activity = true
18 ENV['RAILS_ASSET_ID'] = Time.now.to_i.to_s