Sha256: 3da86a7d5ae02eece77af3c68763b0625c052353a6c7762e2e472624cc5f0531

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

require File.join(File.dirname(__FILE__), 'boot')
require 'action_controller'

Rails::Initializer.run do |config|
  
  if ActionController::Base.respond_to? 'session='
    config.action_controller.session = {:session_key => '_app_session', :secret => '22cde4d5c1a61ba69a81795322cde4d5c1a61ba69a817953'}
  end
    
  #  config.to_prepare do     
  #    RAILS_DEFAULT_LOGGER.info "** interlock dependencies:"
  #    Interlock.dependencies.each do |klass, list|
  #      RAILS_DEFAULT_LOGGER.info "    #{klass}:"
  #      list.each do |key, scope|
  #        RAILS_DEFAULT_LOGGER.info "      #{key} => #{scope.inspect}"
  #      end
  #    end
  #  end
  
end

ENV['RAILS_ASSET_ID'] = rand.to_s

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
interlock-1.1 test/integration/app/config/environment.rb
interlock-1.2 test/integration/app/config/environment.rb
interlock-1.3 test/integration/app/config/environment.rb