Sha256: d0332babfd30bb5d013ebf023f1c4775a1be9e7cb0f5dce5a65913e1487d6268
Contents?: true
Size: 723 Bytes
Versions: 5
Compression:
Stored size: 723 Bytes
Contents
PROJECT_NAME = "clearance" RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION require File.join(File.dirname(__FILE__), 'boot') require 'md5' # Need this up here to generate the session[:secret] value down there Rails::Initializer.run do |config| config.load_paths += Dir.glob(File.join(RAILS_ROOT, 'vendor', 'gems', '*', 'lib')) config.time_zone = 'Eastern Time (US & Canada)' config.action_controller.session = { :session_key => "_#{PROJECT_NAME}_session", :secret => [PROJECT_NAME, 'random', 'words', 'here'].map {|k| Digest::MD5.hexdigest(k) }.join } config.gem 'thoughtbot-shoulda', :lib => 'shoulda', :source => 'http://gems.github.com' end DO_NOT_REPLY = "donotreply@example.com"
Version data entries
5 entries across 5 versions & 1 rubygems