Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / integration / app / config / environment.rb
1
2 require File.join(File.dirname(__FILE__), 'boot')
3
4 Rails::Initializer.run do |config|
5   
6   if config.action_controller.respond_to? :"session="
7     config.action_controller.session = { :session_key => "_myapp_session", :secret => "this is a super secret phrase" }
8   end
9   
10   config.load_paths << "#{RAILS_ROOT}/app/models/person" # moduleless model path
11 end
12
13 # Dependencies.log_activity = true