application_controller.rb: changed connection mapping