Can't put the threadsafe in application.rb after all