class NewRelic::Control
The Control
is a singleton responsible for the startup and initialization sequence. The initializer uses a LocalEnvironment
to detect the framework and instantiates the framework specific subclass.
The Control
also implements some of the public API for the agent.
Public Instance Methods
rails_32_deprecation()
click to toggle source
# File lib/new_relic/control/instrumentation.rb, line 70 def rails_32_deprecation return unless defined?(Rails::VERSION) && Gem::Version.new(Rails::VERSION::STRING) <= Gem::Version.new('3.2') deprecation_msg = 'The Ruby agent is dropping support for Rails 3.2 ' \ 'in a future major release. Please upgrade your Rails version to continue receiving support. ' \ Agent.logger.log_once( :warn, :deprecated_rails_version, deprecation_msg ) end