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

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

Instance Attribute Summary

Attributes included from InstanceMethods

#env, #local_env

Instance Method Summary collapse

Methods inherited from Rails3

#add_error_collector_middleware, #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

#env, #init_config, #root

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 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

#append_plugin_listObject



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_listObject



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

def rails_gem_list
  Bundler.rubygems.all_specs.map do |gem|
    "#{gem.name} (#{gem.version})"
  end
end