Class: NewRelic::Control::Frameworks::Rails4
- Inherits:
-
Rails3
- Object
- NewRelic::Control
- Ruby
- Rails
- Rails3
- NewRelic::Control::Frameworks::Rails4
- Defined in:
- lib/new_relic/control/frameworks/rails4.rb
Instance Attribute Summary
Attributes included from InstanceMethods
Instance Method Summary collapse
Methods inherited from Rails3
#env, #init_config, #rails_root, #vendor_root, #version
Methods inherited from Rails
#env, #init_config, #install_agent_hooks, #install_browser_monitoring, #install_developer_mode, #rails_config, #rails_root, #rails_version, #root
Methods inherited from Ruby
Methods included from ClassMethods
#instance, #load_framework_class, #load_test_framework, #local_env, #new_instance, #newrelic_root, #reset
Methods included from InstanceMethods
#[], #app, #dispatcher, #framework, #init_plugin, #newrelic_root, #settings, #start_agent
Methods included from LanguageSupport::Control
Methods included from Instrumentation
#add_instrumentation, #install_instrumentation, #install_shim, #load_instrumentation_files, #load_samplers
Methods included from ServerMethods
#api_server, #convert_to_ip_address, #proxy_server, #resolve_ip_address, #server, #server_from_host
Methods included from Profiling
#profiling=, #profiling?, #profiling_available?
Instance Method Details
#add_error_collector_middleware ⇒ Object
13 14 15 |
# File 'lib/new_relic/control/frameworks/rails4.rb', line 13 def add_error_collector_middleware # rails_config.middleware.use NewRelic::Rack::ErrorCollector end |
#append_plugin_list ⇒ Object
17 18 19 |
# File 'lib/new_relic/control/frameworks/rails4.rb', line 17 def append_plugin_list # Rails 4 does not allow plugins end |
#rails_gem_list ⇒ Object
7 8 9 10 11 |
# File 'lib/new_relic/control/frameworks/rails4.rb', line 7 def rails_gem_list Bundler.rubygems.all_specs.map do |gem| "#{gem.name} (#{gem.version})" end end |