Class: NewRelic::Control::Frameworks::Rails4

Inherits:
Rails3 show all
Defined in:
lib/new_relic/control/frameworks/rails4.rb

Direct Known Subclasses

RailsNotifications

Constant Summary

Constants inherited from Rails

NewRelic::Control::Frameworks::Rails::BROWSER_MONITORING_INSTALLED_SINGLETON, NewRelic::Control::Frameworks::Rails::BROWSER_MONITORING_INSTALLED_VARIABLE

Instance Attribute Summary

Attributes included from InstanceMethods

#env, #local_env

Instance Method Summary collapse

Methods inherited from Rails3

#env, #rails_root, #vendor_root, #version

Methods inherited from Rails

#browser_agent_already_installed?, #env, #init_config, #install_agent_hooks, #install_browser_monitoring, #install_browser_monitoring_and_agent_hooks, #install_dependency_detection, #mark_browser_agent_as_installed, #rails_config, #rails_root, #rails_version, #root

Methods inherited from Ruby

#env, #init_config, #root

Methods inherited from NewRelic::Control

#rails_32_deprecation

Methods included from ClassMethods

#instance, #load_framework_class, #load_test_framework, #local_env, #new_instance, #newrelic_root, #reset

Methods included from InstanceMethods

#[], #app, #configure_agent, #determine_env, #dispatcher, #framework, #handle_invalid_security_settings, #init_plugin, #newrelic_root, #security_settings_valid?, #settings, #start_agent

Methods included from Instrumentation

#add_instrumentation, #install_instrumentation, #install_shim, #load_instrumentation_files

Methods included from ServerMethods

#api_server, #server, #server_from_host

Instance Method Details

#append_plugin_listObject



15
16
17
# File 'lib/new_relic/control/frameworks/rails4.rb', line 15

def append_plugin_list
  # Rails 4 does not allow plugins
end

#rails_gem_listObject



11
12
13
# File 'lib/new_relic/control/frameworks/rails4.rb', line 11

def rails_gem_list
  NewRelic::Helper.rubygems_specs.map { |gem| "#{gem.name} (#{gem.version})" }
end