Updaded newrelic and added license key to application-example #2711

This commit is contained in:
Priit Tark 2015-06-26 15:56:01 +03:00
parent 4569cc11cd
commit cf7469358c
6 changed files with 10 additions and 12 deletions

View file

@ -1,4 +0,0 @@
if !Rails.env.test? && ENV['new_relic_app_name'].present?
require 'newrelic'
NewRelic::Agent.config[:app_name] = "#{ENV['new_relic_app_name']} - #{Rails.env}"
end