Sha256: ead88e5076c2b4ad6149d00e69a498fd1d1cf7c82e3fb03382b10c33d7753fb0
Contents?: true
Size: 521 Bytes
Versions: 57
Compression:
Stored size: 521 Bytes
Contents
unless defined? RAILS_GEM_VERSION RAILS_GEM_VERSION = ENV['UNICORN_RAILS_VERSION'] end # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') Rails::Initializer.run do |config| config.frameworks -= [ :action_web_service, :action_mailer ] config.action_controller.session_store = :active_record_store config.action_controller.session = { :session_key => "_unicorn_rails_test.#{rand}", :secret => "#{rand}#{rand}#{rand}#{rand}", } end
Version data entries
57 entries across 19 versions & 1 rubygems