heroku-true-relic 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +39 -0
  3. data/Rakefile +56 -0
  4. data/lib/heroku-true-relic.rb +5 -0
  5. data/lib/heroku-true-relic/queue_time_logger.rb +32 -0
  6. data/lib/heroku-true-relic/rails2.rb +13 -0
  7. data/lib/heroku-true-relic/railtie.rb +7 -0
  8. data/lib/heroku-true-relic/version.rb +3 -0
  9. data/lib/tasks/heroku-true-relic_tasks.rake +4 -0
  10. data/spec/rails-2.3/Gemfile +14 -0
  11. data/spec/rails-2.3/Gemfile.lock +82 -0
  12. data/spec/rails-2.3/Rakefile +10 -0
  13. data/spec/rails-2.3/app_root/config/boot.rb +114 -0
  14. data/spec/rails-2.3/app_root/config/database.yml +22 -0
  15. data/spec/rails-2.3/app_root/config/environment.rb +45 -0
  16. data/spec/rails-2.3/app_root/config/environments/development.rb +17 -0
  17. data/spec/rails-2.3/app_root/config/environments/production.rb +28 -0
  18. data/spec/rails-2.3/app_root/config/environments/test.rb +28 -0
  19. data/spec/rails-2.3/app_root/config/initializers/backtrace_silencers.rb +7 -0
  20. data/spec/rails-2.3/app_root/config/initializers/cookie_verification_secret.rb +7 -0
  21. data/spec/rails-2.3/app_root/config/initializers/inflections.rb +10 -0
  22. data/spec/rails-2.3/app_root/config/initializers/mime_types.rb +5 -0
  23. data/spec/rails-2.3/app_root/config/initializers/new_rails_defaults.rb +21 -0
  24. data/spec/rails-2.3/app_root/config/initializers/session_store.rb +15 -0
  25. data/spec/rails-2.3/app_root/config/locales/en.yml +5 -0
  26. data/spec/rails-2.3/app_root/config/routes.rb +4 -0
  27. data/spec/rails-2.3/app_root/db/development.sqlite3 +0 -0
  28. data/spec/rails-2.3/app_root/db/seeds.rb +7 -0
  29. data/spec/rails-2.3/app_root/db/test.sqlite3 +0 -0
  30. data/spec/rails-2.3/app_root/doc/README_FOR_APP +2 -0
  31. data/spec/rails-2.3/app_root/log/development.log +43 -0
  32. data/spec/rails-2.3/app_root/log/production.log +0 -0
  33. data/spec/rails-2.3/app_root/log/server.log +0 -0
  34. data/spec/rails-2.3/app_root/log/test.log +380 -0
  35. data/spec/rails-2.3/app_root/public/404.html +30 -0
  36. data/spec/rails-2.3/app_root/public/422.html +30 -0
  37. data/spec/rails-2.3/app_root/public/500.html +30 -0
  38. data/spec/rails-2.3/app_root/public/favicon.ico +0 -0
  39. data/spec/rails-2.3/app_root/public/images/rails.png +0 -0
  40. data/spec/rails-2.3/app_root/public/javascripts/application.js +2 -0
  41. data/spec/rails-2.3/app_root/public/javascripts/controls.js +963 -0
  42. data/spec/rails-2.3/app_root/public/javascripts/dragdrop.js +973 -0
  43. data/spec/rails-2.3/app_root/public/javascripts/effects.js +1128 -0
  44. data/spec/rails-2.3/app_root/public/javascripts/prototype.js +4320 -0
  45. data/spec/rails-2.3/app_root/public/robots.txt +5 -0
  46. data/spec/rails-2.3/app_root/script/about +4 -0
  47. data/spec/rails-2.3/app_root/script/console +3 -0
  48. data/spec/rails-2.3/app_root/script/dbconsole +3 -0
  49. data/spec/rails-2.3/app_root/script/destroy +3 -0
  50. data/spec/rails-2.3/app_root/script/generate +3 -0
  51. data/spec/rails-2.3/app_root/script/performance/benchmarker +3 -0
  52. data/spec/rails-2.3/app_root/script/performance/profiler +3 -0
  53. data/spec/rails-2.3/app_root/script/plugin +3 -0
  54. data/spec/rails-2.3/app_root/script/runner +3 -0
  55. data/spec/rails-2.3/app_root/script/server +3 -0
  56. data/spec/rails-2.3/app_root/test/performance/browsing_test.rb +9 -0
  57. data/spec/rails-2.3/app_root/test/test_helper.rb +38 -0
  58. data/spec/rails-2.3/spec/spec.opts +4 -0
  59. data/spec/rails-2.3/spec/spec_helper.rb +59 -0
  60. data/spec/rails-3.2/Gemfile +14 -0
  61. data/spec/rails-3.2/Gemfile.lock +146 -0
  62. data/spec/rails-3.2/Rakefile +10 -0
  63. data/spec/rails-3.2/app_root/README.rdoc +261 -0
  64. data/spec/rails-3.2/app_root/config.ru +4 -0
  65. data/spec/rails-3.2/app_root/config/application.rb +59 -0
  66. data/spec/rails-3.2/app_root/config/boot.rb +10 -0
  67. data/spec/rails-3.2/app_root/config/database.yml +25 -0
  68. data/spec/rails-3.2/app_root/config/environment.rb +5 -0
  69. data/spec/rails-3.2/app_root/config/environments/development.rb +37 -0
  70. data/spec/rails-3.2/app_root/config/environments/production.rb +67 -0
  71. data/spec/rails-3.2/app_root/config/environments/test.rb +37 -0
  72. data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +7 -0
  73. data/spec/rails-3.2/app_root/config/initializers/inflections.rb +15 -0
  74. data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +5 -0
  75. data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +7 -0
  76. data/spec/rails-3.2/app_root/config/initializers/session_store.rb +8 -0
  77. data/spec/rails-3.2/app_root/config/initializers/wrap_parameters.rb +14 -0
  78. data/spec/rails-3.2/app_root/config/locales/en.yml +5 -0
  79. data/spec/rails-3.2/app_root/config/routes.rb +61 -0
  80. data/spec/rails-3.2/app_root/db/development.sqlite3 +0 -0
  81. data/spec/rails-3.2/app_root/db/test.sqlite3 +0 -0
  82. data/spec/rails-3.2/app_root/log/development.log +75 -0
  83. data/spec/rails-3.2/app_root/log/test.log +883 -0
  84. data/spec/rails-3.2/app_root/public/404.html +26 -0
  85. data/spec/rails-3.2/app_root/public/422.html +26 -0
  86. data/spec/rails-3.2/app_root/public/500.html +25 -0
  87. data/spec/rails-3.2/app_root/public/favicon.ico +0 -0
  88. data/spec/rails-3.2/app_root/script/rails +6 -0
  89. data/spec/rails-3.2/spec/spec_helper.rb +47 -0
  90. data/spec/shared/app_root/app/assets/javascripts/application.js +15 -0
  91. data/spec/shared/app_root/app/assets/stylesheets/application.css +13 -0
  92. data/spec/shared/app_root/app/controllers/application_controller.rb +3 -0
  93. data/spec/shared/app_root/app/controllers/dummy_controller.rb +5 -0
  94. data/spec/shared/app_root/app/controllers/env_controller.rb +5 -0
  95. data/spec/shared/app_root/app/helpers/application_helper.rb +2 -0
  96. data/spec/shared/app_root/app/views/layouts/application.html.erb +14 -0
  97. data/spec/shared/heroku-true-relic/heroku-true-relic_spec.rb +44 -0
  98. metadata +366 -0
@@ -0,0 +1,17 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # In the development environment your application's code is reloaded on
4
+ # every request. This slows down response time but is perfect for development
5
+ # since you don't have to restart the webserver when you make code changes.
6
+ config.cache_classes = false
7
+
8
+ # Log error messages when you accidentally call methods on nil.
9
+ config.whiny_nils = true
10
+
11
+ # Show full error reports and disable caching
12
+ config.action_controller.consider_all_requests_local = true
13
+ config.action_view.debug_rjs = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
@@ -0,0 +1,28 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # The production environment is meant for finished, "live" apps.
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.action_controller.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+ config.action_view.cache_template_loading = true
11
+
12
+ # See everything in the log (default is :info)
13
+ # config.log_level = :debug
14
+
15
+ # Use a different logger for distributed setups
16
+ # config.logger = SyslogLogger.new
17
+
18
+ # Use a different cache store in production
19
+ # config.cache_store = :mem_cache_store
20
+
21
+ # Enable serving of images, stylesheets, and javascripts from an asset server
22
+ # config.action_controller.asset_host = "http://assets.example.com"
23
+
24
+ # Disable delivery errors, bad email addresses will be ignored
25
+ # config.action_mailer.raise_delivery_errors = false
26
+
27
+ # Enable threaded mode
28
+ # config.threadsafe!
@@ -0,0 +1,28 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # The test environment is used exclusively to run your application's
4
+ # test suite. You never need to work with it otherwise. Remember that
5
+ # your test database is "scratch space" for the test suite and is wiped
6
+ # and recreated between test runs. Don't rely on the data there!
7
+ config.cache_classes = true
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.action_controller.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+ config.action_view.cache_template_loading = true
16
+
17
+ # Disable request forgery protection in test environment
18
+ config.action_controller.allow_forgery_protection = false
19
+
20
+ # Tell Action Mailer not to deliver emails to the real world.
21
+ # The :test delivery method accumulates sent emails in the
22
+ # ActionMailer::Base.deliveries array.
23
+ config.action_mailer.delivery_method = :test
24
+
25
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
26
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
27
+ # like if you have constraints or database-specific column types
28
+ # config.active_record.schema_format = :sql
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ ActionController::Base.cookie_verifier_secret = '7f218fdee492b6b3f2ad9eea7c8be068255c6fed1d6ded287545dda9b49bbe83987b970547cba4f2f21777f1bf5fd6cb4caa56d72526e65d91637e4f87091b4c';
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,21 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # These settings change the behavior of Rails 2 apps and will be defaults
4
+ # for Rails 3. You can remove this initializer when Rails 3 is released.
5
+
6
+ if defined?(ActiveRecord)
7
+ # Include Active Record class name as root for JSON serialized output.
8
+ ActiveRecord::Base.include_root_in_json = true
9
+
10
+ # Store the full class name (including module namespace) in STI type column.
11
+ ActiveRecord::Base.store_full_sti_class = true
12
+ end
13
+
14
+ ActionController::Routing.generate_best_match = false
15
+
16
+ # Use ISO 8601 format for JSON serialized times and dates.
17
+ ActiveSupport.use_standard_json_time_format = true
18
+
19
+ # Don't escape HTML entities in JSON, leave that for the #json_escape helper.
20
+ # if you're including raw json in an HTML page.
21
+ ActiveSupport.escape_html_entities_in_json = false
@@ -0,0 +1,15 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying cookie session data integrity.
4
+ # If you change this key, all old sessions will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ ActionController::Base.session = {
8
+ :key => '_app_root_session',
9
+ :secret => '3db975eda7aba291ccd74c21dc99d30cb0792b29466f36140cb684581099e007fa17beb1ffa62eda31c8b6d7e142139e1b963056f2ccc67bc3528722a84cc8f0'
10
+ }
11
+
12
+ # Use the database for sessions instead of the cookie-based default,
13
+ # which shouldn't be used to store highly confidential information
14
+ # (create the session table with "rake db:sessions:create")
15
+ # ActionController::Base.session_store = :active_record_store
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ ActionController::Routing::Routes.draw do |map|
2
+ map.connect '/', :controller => :dummy, :action => :index
3
+ map.connect 'env/:var', :controller => :env, :action => :show
4
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Major.create(:name => 'Daley', :city => cities.first)
@@ -0,0 +1,2 @@
1
+ Use this README file to introduce your application and point to useful places in the API for learning more.
2
+ Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
@@ -0,0 +1,43 @@
1
+
2
+
3
+ Processing EnvController#index (for 127.0.0.1 at 2013-02-17 16:11:17) [GET]
4
+ Parameters: {"var"=>"FOO"}
5
+
6
+ ActionController::UnknownAction (No action responded to index. Actions: show):
7
+ <internal:prelude>:10:in `synchronize'
8
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
9
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
10
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
11
+
12
+ Rendering rescues/layout (not_found)
13
+
14
+
15
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:12:07) [GET]
16
+ Parameters: {"var"=>"FOO"}
17
+
18
+ NameError (undefined local variable or method `env' for #<EnvController:0x007fee9d22a888>):
19
+ app/controllers/env_controller.rb:3:in `show'
20
+ <internal:prelude>:10:in `synchronize'
21
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
22
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
23
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
24
+
25
+ Rendered rescues/_trace (11.9ms)
26
+ Rendered rescues/_request_and_response (3.1ms)
27
+ Rendering rescues/layout (internal_server_error)
28
+
29
+
30
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:12:19) [GET]
31
+ Parameters: {"var"=>"FOO"}
32
+
33
+ KeyError (key not found: "FOO"):
34
+ app/controllers/env_controller.rb:3:in `fetch'
35
+ app/controllers/env_controller.rb:3:in `show'
36
+ <internal:prelude>:10:in `synchronize'
37
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
38
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
39
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
40
+
41
+ Rendered rescues/_trace (12.0ms)
42
+ Rendered rescues/_request_and_response (0.3ms)
43
+ Rendering rescues/layout (internal_server_error)
File without changes
@@ -0,0 +1,380 @@
1
+
2
+
3
+ Processing EnvController#index (for 127.0.0.1 at 2013-02-17 16:09:27) [GET]
4
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
5
+
6
+ ActionController::UnknownAction (No action responded to index. Actions: show):
7
+ <internal:prelude>:10:in `synchronize'
8
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
9
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
10
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
11
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
12
+
13
+ Rendering rescues/layout (not_found)
14
+
15
+
16
+ Processing EnvController#index (for 127.0.0.1 at 2013-02-17 16:10:23) [GET]
17
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
18
+
19
+ ActionController::UnknownAction (No action responded to index. Actions: show):
20
+ <internal:prelude>:10:in `synchronize'
21
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
22
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
23
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
24
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
25
+
26
+ Rendering rescues/layout (not_found)
27
+
28
+
29
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:12:27) [GET]
30
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
31
+
32
+ KeyError (key not found: "HTTP_X_QUEUE_TIME"):
33
+ app/controllers/env_controller.rb:3:in `fetch'
34
+ app/controllers/env_controller.rb:3:in `show'
35
+ <internal:prelude>:10:in `synchronize'
36
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
37
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
38
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
39
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
40
+
41
+ Rendered rescues/_trace (0.0ms)
42
+ Rendered rescues/_request_and_response (0.0ms)
43
+ Rendering rescues/layout (internal_server_error)
44
+
45
+
46
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:14:11) [GET]
47
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
48
+
49
+ KeyError (key not found: "HTTP_X_MIDDLEWARE_START"):
50
+ app/controllers/env_controller.rb:3:in `fetch'
51
+ app/controllers/env_controller.rb:3:in `show'
52
+ <internal:prelude>:10:in `synchronize'
53
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
54
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
55
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
56
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
57
+
58
+ Rendered rescues/_trace (0.0ms)
59
+ Rendered rescues/_request_and_response (0.0ms)
60
+ Rendering rescues/layout (internal_server_error)
61
+
62
+
63
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:15:45) [GET]
64
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
65
+
66
+ KeyError (key not found: "HTTP_X_QUEUE_TIME"):
67
+ app/controllers/env_controller.rb:3:in `fetch'
68
+ app/controllers/env_controller.rb:3:in `show'
69
+ <internal:prelude>:10:in `synchronize'
70
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
71
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
72
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
73
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
74
+
75
+ Rendered rescues/_trace (0.0ms)
76
+ Rendered rescues/_request_and_response (0.0ms)
77
+ Rendering rescues/layout (internal_server_error)
78
+
79
+
80
+ Processing DummyController#index (for 127.0.0.1 at 2013-02-17 16:18:58) [GET]
81
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/]
82
+
83
+
84
+ Processing ApplicationController#index (for 127.0.0.1 at 2013-02-17 16:18:58) [GET]
85
+
86
+ ActionController::RoutingError (No route matches "/favicon.ico" with {:method=>:get}):
87
+ <internal:prelude>:10:in `synchronize'
88
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
89
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
90
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
91
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
92
+
93
+ Rendering rescues/layout (not_found)
94
+
95
+
96
+ Processing ApplicationController#index (for 127.0.0.1 at 2013-02-17 16:18:58) [GET]
97
+
98
+ ActionController::RoutingError (No route matches "/env/" with {:method=>:get}):
99
+ <internal:prelude>:10:in `synchronize'
100
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
101
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
102
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
103
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
104
+
105
+ Rendering rescues/layout (not_found)
106
+
107
+
108
+ Processing ApplicationController#index (for 127.0.0.1 at 2013-02-17 16:18:58) [GET]
109
+
110
+ ActionController::RoutingError (No route matches "/favicon.ico" with {:method=>:get}):
111
+ <internal:prelude>:10:in `synchronize'
112
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
113
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
114
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
115
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
116
+
117
+ Rendering rescues/layout (not_found)
118
+
119
+
120
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:18:58) [GET]
121
+ Parameters: {"var"=>"AHHH"}
122
+
123
+ KeyError (key not found: "AHHH"):
124
+ app/controllers/env_controller.rb:3:in `fetch'
125
+ app/controllers/env_controller.rb:3:in `show'
126
+ <internal:prelude>:10:in `synchronize'
127
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
128
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
129
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
130
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
131
+
132
+ Rendered rescues/_trace (0.0ms)
133
+ Rendered rescues/_request_and_response (0.0ms)
134
+ Rendering rescues/layout (internal_server_error)
135
+
136
+
137
+ Processing ApplicationController#index (for 127.0.0.1 at 2013-02-17 16:18:58) [GET]
138
+
139
+ ActionController::RoutingError (No route matches "/favicon.ico" with {:method=>:get}):
140
+ <internal:prelude>:10:in `synchronize'
141
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
142
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
143
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
144
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
145
+
146
+ Rendering rescues/layout (not_found)
147
+
148
+
149
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:18:58) [GET]
150
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
151
+
152
+ KeyError (key not found: "HTTP_X_QUEUE_TIME"):
153
+ app/controllers/env_controller.rb:3:in `fetch'
154
+ app/controllers/env_controller.rb:3:in `show'
155
+ <internal:prelude>:10:in `synchronize'
156
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
157
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
158
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
159
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
160
+
161
+ Rendered rescues/_trace (0.0ms)
162
+ Rendered rescues/_request_and_response (0.0ms)
163
+ Rendering rescues/layout (internal_server_error)
164
+
165
+
166
+ Processing ApplicationController#index (for 127.0.0.1 at 2013-02-17 16:19:23) [GET]
167
+
168
+ ActionController::RoutingError (No route matches "/favicon.ico" with {:method=>:get}):
169
+ <internal:prelude>:10:in `synchronize'
170
+ capybara (2.0.2) lib/capybara/server.rb:19:in `call'
171
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
172
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
173
+ /Users/andrew/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
174
+
175
+ Rendering rescues/layout (not_found)
176
+
177
+
178
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:29:44) [GET]
179
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
180
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
181
+
182
+
183
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:33:40) [GET]
184
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
185
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
186
+
187
+
188
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:37:30) [GET]
189
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
190
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
191
+
192
+
193
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:41:33) [GET]
194
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
195
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
196
+
197
+
198
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:41:34) [GET]
199
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
200
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
201
+
202
+
203
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:41:49) [GET]
204
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
205
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
206
+
207
+
208
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:41:50) [GET]
209
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
210
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
211
+
212
+
213
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:43:21) [GET]
214
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
215
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
216
+
217
+
218
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:43:21) [GET]
219
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
220
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
221
+
222
+
223
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:44:14) [GET]
224
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
225
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
226
+
227
+
228
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:44:14) [GET]
229
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
230
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
231
+
232
+
233
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:56:38) [GET]
234
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
235
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
236
+
237
+
238
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:56:38) [GET]
239
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
240
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
241
+
242
+
243
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:57:59) [GET]
244
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
245
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
246
+
247
+
248
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 16:57:59) [GET]
249
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
250
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
251
+
252
+
253
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:02:40) [GET]
254
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
255
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
256
+
257
+
258
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:02:40) [GET]
259
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
260
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
261
+
262
+
263
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:04:28) [GET]
264
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
265
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
266
+
267
+
268
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:04:28) [GET]
269
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
270
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
271
+
272
+
273
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:05:18) [GET]
274
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
275
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
276
+
277
+
278
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:05:19) [GET]
279
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
280
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
281
+
282
+
283
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:05:45) [GET]
284
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
285
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
286
+
287
+
288
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:05:46) [GET]
289
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
290
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
291
+
292
+
293
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:06:02) [GET]
294
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
295
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
296
+
297
+
298
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:06:02) [GET]
299
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
300
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
301
+
302
+
303
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:08:11) [GET]
304
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
305
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
306
+
307
+
308
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:08:12) [GET]
309
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
310
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
311
+
312
+
313
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:10:38) [GET]
314
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
315
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
316
+
317
+
318
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:10:39) [GET]
319
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
320
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
321
+
322
+
323
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:12:18) [GET]
324
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
325
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
326
+
327
+
328
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:12:18) [GET]
329
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
330
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
331
+
332
+
333
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:22:30) [GET]
334
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
335
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
336
+
337
+
338
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:22:30) [GET]
339
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
340
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
341
+
342
+
343
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:22:43) [GET]
344
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
345
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
346
+
347
+
348
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:22:43) [GET]
349
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
350
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
351
+
352
+
353
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:22:53) [GET]
354
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
355
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
356
+
357
+
358
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:22:53) [GET]
359
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
360
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
361
+
362
+
363
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:23:36) [GET]
364
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
365
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
366
+
367
+
368
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:23:36) [GET]
369
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
370
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]
371
+
372
+
373
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:30:24) [GET]
374
+ Parameters: {"var"=>"HTTP_X_MIDDLEWARE_START"}
375
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_MIDDLEWARE_START]
376
+
377
+
378
+ Processing EnvController#show (for 127.0.0.1 at 2013-02-17 17:30:24) [GET]
379
+ Parameters: {"var"=>"HTTP_X_QUEUE_TIME"}
380
+ Completed in 0ms (View: 0, DB: 0) | 200 OK [http://localhost/env/HTTP_X_QUEUE_TIME]