load adapter in application.rb