remove global variable from application.rb