async_request 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +37 -0
  3. data/app/assets/javascripts/async_request/application.js +13 -0
  4. data/app/assets/stylesheets/async_request/application.css +15 -0
  5. data/app/controllers/async_request/application_controller.rb +4 -0
  6. data/app/controllers/async_request/jobs_controller.rb +19 -0
  7. data/app/helpers/async_request/application_helper.rb +15 -0
  8. data/app/models/async_request/job.rb +6 -0
  9. data/app/views/layouts/async_request/application.html.erb +14 -0
  10. data/app/workers/async_request/job_processor.rb +16 -0
  11. data/config/routes.rb +3 -0
  12. data/db/migrate/20160411190611_create_async_request_jobs.rb +16 -0
  13. data/lib/async_request.rb +4 -0
  14. data/lib/async_request/engine.rb +23 -0
  15. data/lib/async_request/version.rb +3 -0
  16. data/lib/tasks/async_request_tasks.rake +4 -0
  17. data/spec/controllers/async_request/jobs_controller_spec.rb +47 -0
  18. data/spec/dummy/README.rdoc +28 -0
  19. data/spec/dummy/Rakefile +6 -0
  20. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  21. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  22. data/spec/dummy/app/controllers/application_controller.rb +10 -0
  23. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  24. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  25. data/spec/dummy/app/workers/test.rb +7 -0
  26. data/spec/dummy/bin/bundle +3 -0
  27. data/spec/dummy/bin/rails +4 -0
  28. data/spec/dummy/bin/rake +4 -0
  29. data/spec/dummy/bin/setup +29 -0
  30. data/spec/dummy/config.ru +4 -0
  31. data/spec/dummy/config/application.rb +26 -0
  32. data/spec/dummy/config/boot.rb +5 -0
  33. data/spec/dummy/config/database.yml +19 -0
  34. data/spec/dummy/config/environment.rb +5 -0
  35. data/spec/dummy/config/environments/development.rb +41 -0
  36. data/spec/dummy/config/environments/production.rb +79 -0
  37. data/spec/dummy/config/environments/test.rb +42 -0
  38. data/spec/dummy/config/initializers/assets.rb +11 -0
  39. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  41. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  42. data/spec/dummy/config/initializers/inflections.rb +16 -0
  43. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  44. data/spec/dummy/config/initializers/session_store.rb +3 -0
  45. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/spec/dummy/config/locales/en.yml +23 -0
  47. data/spec/dummy/config/routes.rb +4 -0
  48. data/spec/dummy/config/secrets.yml +22 -0
  49. data/spec/dummy/db/schema.rb +33 -0
  50. data/spec/dummy/log/development.log +827 -0
  51. data/spec/dummy/log/test.log +5076 -0
  52. data/spec/dummy/public/404.html +67 -0
  53. data/spec/dummy/public/422.html +67 -0
  54. data/spec/dummy/public/500.html +66 -0
  55. data/spec/dummy/public/favicon.ico +0 -0
  56. data/spec/factories/async_request_job.rb +23 -0
  57. data/spec/helpers/async_request/application_helper_spec.rb +39 -0
  58. data/spec/spec_helper.rb +68 -0
  59. data/spec/support/parsed_response_helper.rb +7 -0
  60. data/spec/workers/async_request/job_processor_spec.rb +32 -0
  61. metadata +293 -0
@@ -0,0 +1,5 @@
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
5
+ $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,19 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ #
7
+ development: &default
8
+ adapter: postgresql
9
+ encoding: unicode
10
+ database: dummy_development
11
+ pool: 5
12
+ username: <%= ENV.fetch('DB_USERNAME', 'dummy') %>
13
+ password: <%= ENV.fetch('DB_PASSWORD', 'dummy') %>
14
+ host: <%= ENV.fetch('DB_1_PORT_5432_TCP_ADDR', 'localhost') %>
15
+ port: <%= ENV.fetch('DB_1_PORT_5432_TCP_PORT', '5432') %>
16
+
17
+ test: &test
18
+ <<: *default
19
+ database: dummy_test
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,41 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
+
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = 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
18
+
19
+ # Print deprecation notices to the Rails logger.
20
+ config.active_support.deprecation = :log
21
+
22
+ # Raise an error on page load if there are pending migrations.
23
+ config.active_record.migration_error = :page_load
24
+
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
28
+ config.assets.debug = true
29
+
30
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
31
+ # yet still be able to expire them through the digest params.
32
+ config.assets.digest = true
33
+
34
+ # Adds additional error checking when serving assets at runtime.
35
+ # Checks for improperly declared sprockets dependencies.
36
+ # Raises helpful error messages.
37
+ config.assets.raise_runtime_errors = true
38
+
39
+ # Raises error for missing translations
40
+ # config.action_view.raise_on_missing_translations = true
41
+ end
@@ -0,0 +1,79 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like
20
+ # NGINX, varnish or squid.
21
+ # config.action_dispatch.rack_cache = true
22
+
23
+ # Disable serving static files from the `/public` folder by default since
24
+ # Apache or NGINX already handles this.
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
+
27
+ # Compress JavaScripts and CSS.
28
+ config.assets.js_compressor = :uglifier
29
+ # config.assets.css_compressor = :sass
30
+
31
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
32
+ config.assets.compile = false
33
+
34
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
+ # yet still be able to expire them through the digest params.
36
+ config.assets.digest = true
37
+
38
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
+
40
+ # Specifies the header that your server uses for sending files.
41
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
+
44
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
+ # config.force_ssl = true
46
+
47
+ # Use the lowest log level to ensure availability of diagnostic information
48
+ # when problems arise.
49
+ config.log_level = :debug
50
+
51
+ # Prepend all log lines with the following tags.
52
+ # config.log_tags = [ :subdomain, :uuid ]
53
+
54
+ # Use a different logger for distributed setups.
55
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
+
57
+ # Use a different cache store in production.
58
+ # config.cache_store = :mem_cache_store
59
+
60
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
+ # config.action_controller.asset_host = 'http://assets.example.com'
62
+
63
+ # Ignore bad email addresses and do not raise email delivery errors.
64
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
+ # config.action_mailer.raise_delivery_errors = false
66
+
67
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
+ # the I18n.default_locale when a translation cannot be found).
69
+ config.i18n.fallbacks = true
70
+
71
+ # Send deprecation notices to registered listeners.
72
+ config.active_support.deprecation = :notify
73
+
74
+ # Use default logging formatter so that PID and timestamp are not suppressed.
75
+ config.log_formatter = ::Logger::Formatter.new
76
+
77
+ # Do not dump schema after migrations.
78
+ config.active_record.dump_schema_after_migration = false
79
+ end
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -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 to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
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
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ get :async, to: 'application#test'
3
+ get :normal, to: 'application#normal'
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 69d9a046af53f4c3af7c59e2e5857ca24827dcd97f564429afa35093badd2975e9b90e083898df85ef045217442b44b19c73d950e2487daafdb6697ceb482e22
15
+
16
+ test:
17
+ secret_key_base: d61c54195ef5dba9da4651b5521c28c2a23a8e72d20378243d7176b6790278be1e999b6c97c398d5b2832ed157fc4d95a80715b3f054de916ab2d2b744a45e6f
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,33 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20160411190611) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+
19
+ create_table "async_request_jobs", force: :cascade do |t|
20
+ t.string "worker"
21
+ t.integer "status"
22
+ t.integer "status_code"
23
+ t.text "response"
24
+ t.string "uid"
25
+ t.text "params"
26
+ t.datetime "created_at", null: false
27
+ t.datetime "updated_at", null: false
28
+ end
29
+
30
+ add_index "async_request_jobs", ["status"], name: "index_async_request_jobs_on_status", using: :btree
31
+ add_index "async_request_jobs", ["uid"], name: "index_async_request_jobs_on_uid", unique: true, using: :btree
32
+
33
+ end
@@ -0,0 +1,827 @@
1
+  (6.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (4.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateAsyncRequestJobs (20160411190611)
5
+  (0.1ms) BEGIN
6
+  (7.7ms) CREATE TABLE "async_request_jobs" ("id" serial primary key, "worker" character varying, "status" integer, "status_code" integer, "response" text, "uid" character varying, "params" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
7
+  (2.9ms) CREATE INDEX "index_async_request_jobs_on_status" ON "async_request_jobs" ("status")
8
+  (2.9ms) CREATE UNIQUE INDEX "index_async_request_jobs_on_uid" ON "async_request_jobs" ("uid")
9
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160411190611"]]
10
+  (0.6ms) COMMIT
11
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+  (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
13
+ FROM pg_constraint c
14
+ JOIN pg_class t1 ON c.conrelid = t1.oid
15
+ JOIN pg_class t2 ON c.confrelid = t2.oid
16
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
17
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
18
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
19
+ WHERE c.contype = 'f'
20
+ AND t1.relname = 'async_request_jobs'
21
+ AND t3.nspname = ANY (current_schemas(false))
22
+ ORDER BY c.conname
23
+ 
24
+
25
+
26
+ Started GET "/test" for ::1 at 2016-04-11 16:36:48 -0300
27
+ Processing by ApplicationController#test as HTML
28
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
29
+
30
+ ArgumentError (wrong number of arguments (2 for 0)):
31
+ app/controllers/application_controller.rb:7:in `test'
32
+
33
+
34
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms)
35
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
36
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.8ms)
37
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.4ms)
38
+
39
+
40
+ Started GET "/test" for ::1 at 2016-04-11 16:40:17 -0300
41
+ Processing by ApplicationController#test as HTML
42
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
43
+
44
+ ArgumentError (wrong number of arguments (2 for 0)):
45
+ app/controllers/application_controller.rb:7:in `test'
46
+
47
+
48
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms)
49
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
50
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.4ms)
51
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.8ms)
52
+
53
+
54
+ Started GET "/test" for ::1 at 2016-04-11 16:40:39 -0300
55
+ Processing by ApplicationController#test as HTML
56
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
57
+
58
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007ff3b68792e8>):
59
+ app/controllers/application_controller.rb:7:in `test'
60
+
61
+
62
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.3ms)
63
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
64
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.6ms)
65
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.7ms)
66
+
67
+
68
+ Started GET "/test" for ::1 at 2016-04-11 16:48:33 -0300
69
+ Processing by ApplicationController#test as HTML
70
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
71
+
72
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007f929e9dd0e0>):
73
+ app/controllers/application_controller.rb:7:in `test'
74
+
75
+
76
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms)
77
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
78
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.6ms)
79
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.5ms)
80
+
81
+
82
+ Started GET "/test" for ::1 at 2016-04-11 16:49:03 -0300
83
+ Processing by ApplicationController#test as HTML
84
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
85
+
86
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007fc4e182a228>):
87
+ app/controllers/application_controller.rb:7:in `test'
88
+
89
+
90
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.2ms)
91
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
92
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.8ms)
93
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.4ms)
94
+
95
+
96
+ Started GET "/test" for ::1 at 2016-04-11 16:56:32 -0300
97
+ Processing by ApplicationController#test as HTML
98
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
99
+
100
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007fc2f648e908>):
101
+ app/controllers/application_controller.rb:9:in `test'
102
+
103
+
104
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms)
105
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
106
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.3ms)
107
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.0ms)
108
+
109
+
110
+ Started GET "/test" for ::1 at 2016-04-11 16:56:58 -0300
111
+ Processing by ApplicationController#test as HTML
112
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
113
+
114
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007fd781c00890>):
115
+ app/controllers/application_controller.rb:9:in `test'
116
+
117
+
118
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms)
119
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
120
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.1ms)
121
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.5ms)
122
+
123
+
124
+ Started GET "/test" for ::1 at 2016-04-11 16:57:40 -0300
125
+ Processing by ApplicationController#test as HTML
126
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
127
+
128
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007fe3aa739908>):
129
+ app/controllers/application_controller.rb:9:in `test'
130
+
131
+
132
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms)
133
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
134
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.6ms)
135
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.0ms)
136
+
137
+
138
+ Started GET "/test" for ::1 at 2016-04-11 16:57:44 -0300
139
+ Processing by ApplicationController#test as HTML
140
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
141
+
142
+ NameError (undefined local variable or method `byebug' for #<ApplicationController:0x007fe3aa406718>):
143
+ app/controllers/application_controller.rb:9:in `test'
144
+
145
+
146
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
147
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
148
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
149
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.9ms)
150
+
151
+
152
+ Started GET "/test" for ::1 at 2016-04-11 16:57:50 -0300
153
+ Processing by ApplicationController#test as HTML
154
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
155
+
156
+ NoMethodError (undefined method `pry' for #<Binding:0x007fe3aa5ee508>):
157
+ app/controllers/application_controller.rb:9:in `test'
158
+
159
+
160
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms)
161
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
162
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
163
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (41.2ms)
164
+
165
+
166
+ Started GET "/test" for ::1 at 2016-04-11 19:38:05 -0300
167
+ Processing by ApplicationController#test as HTML
168
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
169
+
170
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007fe3a94f3690>):
171
+ app/controllers/application_controller.rb:9:in `test'
172
+
173
+
174
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
175
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
176
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
177
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.5ms)
178
+
179
+
180
+ Started GET "/test" for ::1 at 2016-04-11 19:41:11 -0300
181
+ Processing by ApplicationController#test as HTML
182
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
183
+
184
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007f8adb3f8820>):
185
+ app/controllers/application_controller.rb:9:in `test'
186
+
187
+
188
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms)
189
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
190
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.1ms)
191
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.2ms)
192
+
193
+
194
+ Started GET "/test" for ::1 at 2016-04-11 19:43:01 -0300
195
+ Processing by ApplicationController#test as HTML
196
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
197
+
198
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007fb96bbde5f8>):
199
+ app/controllers/application_controller.rb:9:in `test'
200
+
201
+
202
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.9ms)
203
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
204
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.3ms)
205
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.3ms)
206
+
207
+
208
+ Started GET "/test" for ::1 at 2016-04-11 19:43:14 -0300
209
+ Processing by ApplicationController#test as HTML
210
+ Completed 500 Internal Server Error in 244131ms (ActiveRecord: 0.0ms)
211
+
212
+ NoMethodError (undefined method `execute_async' for #<ApplicationController:0x007fb96d5babc0>):
213
+ app/controllers/application_controller.rb:10:in `test'
214
+
215
+
216
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms)
217
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.8ms)
218
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
219
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.3ms)
220
+
221
+
222
+ Started GET "/" for ::1 at 2016-04-11 19:49:32 -0300
223
+ Processing by Rails::WelcomeController#index as HTML
224
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (1.1ms)
225
+ Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
226
+
227
+
228
+ Started GET "/test" for ::1 at 2016-04-11 19:49:37 -0300
229
+ Processing by ApplicationController#test as HTML
230
+ Completed 500 Internal Server Error in 3020ms (ActiveRecord: 4.7ms)
231
+
232
+ ActiveRecord::UnknownAttributeError (unknown attribute 'worker_class' for AsyncRequest::Job.):
233
+ app/controllers/application_controller.rb:10:in `test'
234
+
235
+
236
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms)
237
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
238
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.8ms)
239
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.6ms)
240
+
241
+
242
+ Started GET "/test" for ::1 at 2016-04-11 19:50:02 -0300
243
+ Processing by ApplicationController#test as HTML
244
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
245
+
246
+ ArgumentError (A copy of AsyncRequest::ApplicationHelper has been removed from the module tree but is still active!):
247
+ app/controllers/application_controller.rb:7:in `test'
248
+
249
+
250
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms)
251
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
252
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
253
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (40.6ms)
254
+
255
+
256
+ Started GET "/test" for ::1 at 2016-04-11 19:50:11 -0300
257
+ Processing by ApplicationController#test as HTML
258
+ Completed 500 Internal Server Error in 29ms (ActiveRecord: 4.9ms)
259
+
260
+ ActiveRecord::UnknownAttributeError (unknown attribute 'worker_class' for AsyncRequest::Job.):
261
+ app/controllers/application_controller.rb:7:in `test'
262
+
263
+
264
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms)
265
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
266
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.6ms)
267
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.6ms)
268
+
269
+
270
+ Started GET "/test" for ::1 at 2016-04-11 19:50:52 -0300
271
+ Processing by ApplicationController#test as HTML
272
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
273
+
274
+ ArgumentError (A copy of AsyncRequest::ApplicationHelper has been removed from the module tree but is still active!):
275
+ app/controllers/application_controller.rb:7:in `test'
276
+
277
+
278
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms)
279
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
280
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
281
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (44.5ms)
282
+
283
+
284
+ Started GET "/test" for ::1 at 2016-04-11 19:50:59 -0300
285
+ Processing by ApplicationController#test as HTML
286
+  (0.2ms) BEGIN
287
+ SQL (0.8ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "5e40c8c5-6a0e-48c5-a783-79f9bdad662d"], ["created_at", "2016-04-11 22:50:59.726053"], ["updated_at", "2016-04-11 22:50:59.726053"]]
288
+  (0.4ms) COMMIT
289
+ Completed 500 Internal Server Error in 36ms (ActiveRecord: 5.9ms)
290
+
291
+ NameError (uninitialized constant JobProcessor::Sidekiq):
292
+ app/controllers/application_controller.rb:7:in `test'
293
+
294
+
295
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms)
296
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
297
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.5ms)
298
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.2ms)
299
+
300
+
301
+ Started GET "/test" for ::1 at 2016-04-11 19:51:24 -0300
302
+ Processing by ApplicationController#test as HTML
303
+  (0.2ms) BEGIN
304
+ SQL (0.7ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "a6f82625-a17e-46f0-8f2e-be80091792a3"], ["created_at", "2016-04-11 22:51:24.766703"], ["updated_at", "2016-04-11 22:51:24.766703"]]
305
+  (1.0ms) COMMIT
306
+ Completed 500 Internal Server Error in 39ms (ActiveRecord: 7.5ms)
307
+
308
+ NameError (uninitialized constant Sidekiq):
309
+ app/controllers/application_controller.rb:7:in `test'
310
+
311
+
312
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.3ms)
313
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
314
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.1ms)
315
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.0ms)
316
+
317
+
318
+ Started GET "/test" for ::1 at 2016-04-11 19:51:50 -0300
319
+ Processing by ApplicationController#test as HTML
320
+  (0.2ms) BEGIN
321
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "1a2de47f-f3a0-4974-a297-62d646baf7f9"], ["created_at", "2016-04-11 22:51:50.557634"], ["updated_at", "2016-04-11 22:51:50.557634"]]
322
+  (0.4ms) COMMIT
323
+ Completed 500 Internal Server Error in 36ms (ActiveRecord: 5.9ms)
324
+
325
+ NameError (uninitialized constant Sidekiq):
326
+ app/controllers/application_controller.rb:7:in `test'
327
+
328
+
329
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
330
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
331
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.5ms)
332
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.3ms)
333
+
334
+
335
+ Started GET "/test" for ::1 at 2016-04-11 19:53:15 -0300
336
+ Processing by ApplicationController#test as HTML
337
+  (0.2ms) BEGIN
338
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "851ed509-3783-400d-91f0-618032337ed1"], ["created_at", "2016-04-11 22:53:15.268313"], ["updated_at", "2016-04-11 22:53:15.268313"]]
339
+  (0.4ms) COMMIT
340
+ Completed 500 Internal Server Error in 37ms (ActiveRecord: 6.5ms)
341
+
342
+ NameError (uninitialized constant AsyncRequest::JobProcessor::Sidekiq):
343
+ app/controllers/application_controller.rb:7:in `test'
344
+
345
+
346
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms)
347
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
348
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.4ms)
349
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.1ms)
350
+
351
+
352
+ Started GET "/test" for ::1 at 2016-04-11 19:54:36 -0300
353
+ Processing by ApplicationController#test as HTML
354
+  (0.2ms) BEGIN
355
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "827e45b0-ca7c-418a-bb6e-b033a4dfd569"], ["created_at", "2016-04-11 22:54:36.641339"], ["updated_at", "2016-04-11 22:54:36.641339"]]
356
+  (0.4ms) COMMIT
357
+ Completed 500 Internal Server Error in 37ms (ActiveRecord: 6.1ms)
358
+
359
+ NameError (uninitialized constant Sidekiq):
360
+ app/controllers/application_controller.rb:7:in `test'
361
+
362
+
363
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms)
364
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms)
365
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.5ms)
366
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.8ms)
367
+
368
+
369
+ Started GET "/test" for ::1 at 2016-04-11 19:59:38 -0300
370
+ Processing by ApplicationController#test as HTML
371
+  (0.2ms) BEGIN
372
+ SQL (0.8ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "d6adac2c-fc70-47f2-8894-c23325bd0051"], ["created_at", "2016-04-11 22:59:38.265316"], ["updated_at", "2016-04-11 22:59:38.265316"]]
373
+  (0.5ms) COMMIT
374
+ Completed 500 Internal Server Error in 37ms (ActiveRecord: 6.3ms)
375
+
376
+ NameError (uninitialized constant Sidekiq):
377
+ app/controllers/application_controller.rb:7:in `test'
378
+
379
+
380
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms)
381
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
382
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.0ms)
383
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.5ms)
384
+
385
+
386
+ Started GET "/test" for ::1 at 2016-04-11 20:00:29 -0300
387
+ Processing by ApplicationController#test as HTML
388
+  (0.2ms) BEGIN
389
+ SQL (0.8ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "e081d823-cd53-404f-aebb-6f6ec3d881f9"], ["created_at", "2016-04-11 23:00:29.184147"], ["updated_at", "2016-04-11 23:00:29.184147"]]
390
+  (0.3ms) COMMIT
391
+ Completed 500 Internal Server Error in 34ms (ActiveRecord: 5.9ms)
392
+
393
+ LoadError (Unable to autoload constant JobProcessor, expected /Users/matiasdesanti1/Projects/async_request/app/workers/job_processor.rb to define it):
394
+ app/controllers/application_controller.rb:7:in `test'
395
+
396
+
397
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms)
398
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
399
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.3ms)
400
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.8ms)
401
+
402
+
403
+ Started GET "/test" for ::1 at 2016-04-11 20:00:51 -0300
404
+ Processing by ApplicationController#test as HTML
405
+  (0.2ms) BEGIN
406
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "7431dd1a-3d6a-42b5-853b-9f570aa61265"], ["created_at", "2016-04-11 23:00:51.994525"], ["updated_at", "2016-04-11 23:00:51.994525"]]
407
+  (0.5ms) COMMIT
408
+ Completed 500 Internal Server Error in 33ms (ActiveRecord: 5.7ms)
409
+
410
+ LoadError (Unable to autoload constant JobProcessor, expected /Users/matiasdesanti1/Projects/async_request/app/workers/job_processor.rb to define it):
411
+ app/controllers/application_controller.rb:7:in `test'
412
+
413
+
414
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms)
415
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
416
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.9ms)
417
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.5ms)
418
+
419
+
420
+ Started GET "/test" for ::1 at 2016-04-11 20:01:24 -0300
421
+ Processing by ApplicationController#test as HTML
422
+  (0.2ms) BEGIN
423
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "ede9ba43-9946-4c9a-be0f-cf6dbcdedbe0"], ["created_at", "2016-04-11 23:01:24.200418"], ["updated_at", "2016-04-11 23:01:24.200418"]]
424
+  (0.4ms) COMMIT
425
+ Completed 500 Internal Server Error in 53ms (ActiveRecord: 6.0ms)
426
+
427
+ ActionView::MissingTemplate (Missing template application/test with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
428
+ * "/Users/matiasdesanti1/Projects/async_request/test/dummy/app/views"
429
+ * "/Users/matiasdesanti1/Projects/async_request/app/views"
430
+ ):
431
+ actionview (4.2.6) lib/action_view/path_set.rb:46:in `find'
432
+ actionview (4.2.6) lib/action_view/lookup_context.rb:121:in `find'
433
+ actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
434
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
435
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:8:in `render'
436
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:46:in `render_template'
437
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:27:in `render'
438
+ actionview (4.2.6) lib/action_view/rendering.rb:100:in `_render_template'
439
+ actionpack (4.2.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
440
+ actionview (4.2.6) lib/action_view/rendering.rb:83:in `render_to_body'
441
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
442
+ actionpack (4.2.6) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
443
+ actionpack (4.2.6) lib/abstract_controller/rendering.rb:25:in `render'
444
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:16:in `render'
445
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
446
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
447
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
448
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
449
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
450
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
451
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
452
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:43:in `render'
453
+ actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
454
+ actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
455
+ actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
456
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
457
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
458
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
459
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
460
+ activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
461
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
462
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
463
+ activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
464
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
465
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
466
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
467
+ actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
468
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
469
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
470
+ activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
471
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
472
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
473
+ actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
474
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
475
+ actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
476
+ actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
477
+ actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
478
+ actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
479
+ actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
480
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `call'
481
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
482
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
483
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
484
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
485
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
486
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
487
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
488
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
489
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
490
+ actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
491
+ actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
492
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
493
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
494
+ actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
495
+ activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
496
+ activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
497
+ activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
498
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
499
+ activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
500
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
501
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
502
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
503
+ actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
504
+ actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
505
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
506
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
507
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
508
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
509
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
510
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
511
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
512
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
513
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
514
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
515
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
516
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
517
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
518
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
519
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
520
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
521
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
522
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
523
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
524
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
525
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
526
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
527
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
528
+
529
+
530
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms)
531
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
532
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.6ms)
533
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (50.9ms)
534
+
535
+
536
+ Started GET "/jobs" for ::1 at 2016-04-11 20:01:57 -0300
537
+
538
+ ActionController::RoutingError (No route matches [GET] "/jobs"):
539
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
540
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
541
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
542
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
543
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
544
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
545
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
546
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
547
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
548
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
549
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
550
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
551
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
552
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
553
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
554
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
555
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
556
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
557
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
558
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
559
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
560
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
561
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
562
+
563
+
564
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
565
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
566
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
567
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.3ms)
568
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
569
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (63.7ms)
570
+
571
+
572
+ Started GET "/test" for ::1 at 2016-04-11 20:02:17 -0300
573
+ Processing by ApplicationController#test as HTML
574
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
575
+
576
+ ArgumentError (A copy of AsyncRequest::ApplicationHelper has been removed from the module tree but is still active!):
577
+ app/controllers/application_controller.rb:7:in `test'
578
+
579
+
580
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.1ms)
581
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
582
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
583
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (39.9ms)
584
+
585
+
586
+ Started GET "/test" for ::1 at 2016-04-11 20:02:25 -0300
587
+ Processing by ApplicationController#test as HTML
588
+  (0.2ms) BEGIN
589
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "99a48e07-5544-49e9-84b1-78690cfd0e54"], ["created_at", "2016-04-11 23:02:25.923745"], ["updated_at", "2016-04-11 23:02:25.923745"]]
590
+  (0.5ms) COMMIT
591
+ Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 6.8ms)
592
+
593
+
594
+ Started GET "/jobs/99a48e07-5544-49e9-84b1-78690cfd0e54" for ::1 at 2016-04-11 20:02:31 -0300
595
+
596
+ ActionController::RoutingError (No route matches [GET] "/jobs/99a48e07-5544-49e9-84b1-78690cfd0e54"):
597
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
598
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
599
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
600
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
601
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
602
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
603
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
604
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
605
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
606
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
607
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
608
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
609
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
610
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
611
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
612
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
613
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
614
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
615
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
616
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
617
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
618
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
619
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
620
+
621
+
622
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
623
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
624
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
625
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.5ms)
626
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.5ms)
627
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (72.0ms)
628
+
629
+
630
+ Started GET "/async_requst/jobs/99a48e07-5544-49e9-84b1-78690cfd0e54" for ::1 at 2016-04-11 20:02:42 -0300
631
+
632
+ ActionController::RoutingError (No route matches [GET] "/async_requst/jobs/99a48e07-5544-49e9-84b1-78690cfd0e54"):
633
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
634
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
635
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
636
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
637
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
638
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
639
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
640
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
641
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
642
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
643
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
644
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
645
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
646
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
647
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
648
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
649
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
650
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
651
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
652
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
653
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
654
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
655
+ /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
656
+
657
+
658
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
659
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
660
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
661
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
662
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.5ms)
663
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (65.9ms)
664
+
665
+
666
+ Started GET "/test" for ::1 at 2016-04-11 20:03:18 -0300
667
+ Processing by ApplicationController#test as HTML
668
+  (0.2ms) BEGIN
669
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "1fd32c7b-e9f6-424c-ab0c-2f8fb416889f"], ["created_at", "2016-04-11 23:03:18.354944"], ["updated_at", "2016-04-11 23:03:18.354944"]]
670
+  (0.4ms) COMMIT
671
+ Completed 500 Internal Server Error in 40ms (ActiveRecord: 5.8ms)
672
+
673
+ NameError (undefined local variable or method `byebug' for #<ApplicationController:0x007fdde1159728>):
674
+ app/controllers/application_controller.rb:8:in `test'
675
+
676
+
677
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms)
678
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
679
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.2ms)
680
+ Rendered /Users/matiasdesanti1/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.0ms)
681
+
682
+
683
+ Started GET "/test" for ::1 at 2016-04-11 20:03:28 -0300
684
+ Processing by ApplicationController#test as HTML
685
+  (0.2ms) BEGIN
686
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "b6b8668a-f798-4b24-9119-4e9a352cd287"], ["created_at", "2016-04-11 23:03:28.707414"], ["updated_at", "2016-04-11 23:03:28.707414"]]
687
+  (0.5ms) COMMIT
688
+ DEPRECATION WARNING: `named_routes.helpers` is deprecated, please use `route_defined?(route_name)` to see if a named route was defined. (called from test at (pry):1)
689
+ DEPRECATION WARNING: `named_routes.helpers` is deprecated, please use `route_defined?(route_name)` to see if a named route was defined. (called from test at (pry):7)
690
+ Completed 200 OK in 150933ms (Views: 0.2ms | ActiveRecord: 6.0ms)
691
+
692
+
693
+ Started GET "/async_request/jobs/b6b8668a-f798-4b24-9119-4e9a352cd287" for ::1 at 2016-04-11 20:06:07 -0300
694
+ Processing by AsyncRequest::JobsController#show as HTML
695
+ Parameters: {"id"=>"b6b8668a-f798-4b24-9119-4e9a352cd287"}
696
+ AsyncRequest::Job Load (0.6ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."uid" = $1 LIMIT 1 [["uid", "b6b8668a-f798-4b24-9119-4e9a352cd287"]]
697
+ Completed 202 Accepted in 8ms (ActiveRecord: 0.6ms)
698
+
699
+
700
+ Started GET "/async_request/jobs/b6b8668a-f798-4b24-9119-4e9a352cd287" for ::1 at 2016-04-11 20:06:34 -0300
701
+ Processing by AsyncRequest::JobsController#show as */*
702
+ Parameters: {"id"=>"b6b8668a-f798-4b24-9119-4e9a352cd287"}
703
+ AsyncRequest::Job Load (0.3ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."uid" = $1 LIMIT 1 [["uid", "b6b8668a-f798-4b24-9119-4e9a352cd287"]]
704
+ Completed 202 Accepted in 1ms (ActiveRecord: 0.3ms)
705
+
706
+
707
+ Started GET "/test" for ::1 at 2016-04-11 20:08:57 -0300
708
+ Processing by ApplicationController#test as */*
709
+  (0.1ms) BEGIN
710
+ SQL (0.6ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "47e3314e-9e43-4ba3-b3e9-d4020c01a951"], ["created_at", "2016-04-11 23:08:57.492141"], ["updated_at", "2016-04-11 23:08:57.492141"]]
711
+  (0.5ms) COMMIT
712
+ Completed 202 Accepted in 38ms (Views: 0.2ms | ActiveRecord: 6.0ms)
713
+ AsyncRequest::Job Load (0.6ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."id" = $1 LIMIT 1 [["id", 13]]
714
+  (0.2ms) BEGIN
715
+ SQL (0.4ms) UPDATE "async_request_jobs" SET "status" = $1, "updated_at" = $2 WHERE "async_request_jobs"."id" = $3 [["status", 1], ["updated_at", "2016-04-11 23:08:57.541314"], ["id", 13]]
716
+  (0.3ms) COMMIT
717
+
718
+
719
+ Started GET "/async_request/jobs/47e3314e-9e43-4ba3-b3e9-d4020c01a951" for ::1 at 2016-04-11 20:09:43 -0300
720
+ Processing by AsyncRequest::JobsController#show as */*
721
+ Parameters: {"id"=>"47e3314e-9e43-4ba3-b3e9-d4020c01a951"}
722
+ AsyncRequest::Job Load (0.5ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."uid" = $1 LIMIT 1 [["uid", "47e3314e-9e43-4ba3-b3e9-d4020c01a951"]]
723
+ Completed 202 Accepted in 12ms (ActiveRecord: 2.5ms)
724
+ AsyncRequest::Job Load (0.6ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."id" = $1 LIMIT 1 [["id", 13]]
725
+  (0.2ms) BEGIN
726
+  (0.2ms) COMMIT
727
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
728
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
729
+ Migrating to CreateAsyncRequestJobs (20160411190611)
730
+  (0.2ms) BEGIN
731
+  (1.0ms) DROP INDEX "index_async_request_jobs_on_uid"
732
+  (0.3ms) DROP INDEX "index_async_request_jobs_on_status"
733
+  (1.5ms) DROP TABLE "async_request_jobs"
734
+ SQL (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20160411190611"]]
735
+  (1.5ms) COMMIT
736
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
737
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
738
+ Migrating to CreateAsyncRequestJobs (20160411190611)
739
+  (0.1ms) BEGIN
740
+  (9.4ms) CREATE TABLE "async_request_jobs" ("id" serial primary key, "worker" character varying, "status" integer, "status_code" integer, "response" text, "uid" character varying, "params" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
741
+  (2.8ms) CREATE INDEX "index_async_request_jobs_on_status" ON "async_request_jobs" ("status")
742
+  (2.9ms) CREATE UNIQUE INDEX "index_async_request_jobs_on_uid" ON "async_request_jobs" ("uid")
743
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160411190611"]]
744
+  (0.8ms) COMMIT
745
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
746
+  (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
747
+ FROM pg_constraint c
748
+ JOIN pg_class t1 ON c.conrelid = t1.oid
749
+ JOIN pg_class t2 ON c.confrelid = t2.oid
750
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
751
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
752
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
753
+ WHERE c.contype = 'f'
754
+ AND t1.relname = 'async_request_jobs'
755
+ AND t3.nspname = ANY (current_schemas(false))
756
+ ORDER BY c.conname
757
+ 
758
+
759
+
760
+ Started GET "/async_request/jobs/47e3314e-9e43-4ba3-b3e9-d4020c01a951" for ::1 at 2016-04-11 20:10:45 -0300
761
+ Processing by AsyncRequest::JobsController#show as */*
762
+ Parameters: {"id"=>"47e3314e-9e43-4ba3-b3e9-d4020c01a951"}
763
+ AsyncRequest::Job Load (0.6ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."uid" = $1 LIMIT 1 [["uid", "47e3314e-9e43-4ba3-b3e9-d4020c01a951"]]
764
+ Completed 404 Not Found in 24ms (ActiveRecord: 2.8ms)
765
+
766
+
767
+ Started GET "/test" for ::1 at 2016-04-11 20:10:49 -0300
768
+ Processing by ApplicationController#test as */*
769
+  (0.1ms) BEGIN
770
+ SQL (0.5ms) INSERT INTO "async_request_jobs" ("worker", "params", "uid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["worker", "Test"], ["params", "---\n- a\n"], ["uid", "298a1db1-85e2-4dd2-9847-55b1ff6a360d"], ["created_at", "2016-04-11 23:10:49.675662"], ["updated_at", "2016-04-11 23:10:49.675662"]]
771
+  (1.1ms) COMMIT
772
+ Completed 202 Accepted in 19ms (Views: 0.2ms | ActiveRecord: 4.3ms)
773
+ AsyncRequest::Job Load (0.6ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."id" = $1 LIMIT 1 [["id", 1]]
774
+  (0.2ms) BEGIN
775
+ SQL (0.5ms) UPDATE "async_request_jobs" SET "status" = $1, "updated_at" = $2 WHERE "async_request_jobs"."id" = $3 [["status", 1], ["updated_at", "2016-04-11 23:10:49.720112"], ["id", 1]]
776
+  (0.4ms) COMMIT
777
+
778
+
779
+ Started GET "/async_request/jobs/298a1db1-85e2-4dd2-9847-55b1ff6a360d" for ::1 at 2016-04-11 20:10:59 -0300
780
+ Processing by AsyncRequest::JobsController#show as */*
781
+ Parameters: {"id"=>"298a1db1-85e2-4dd2-9847-55b1ff6a360d"}
782
+ AsyncRequest::Job Load (0.4ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."uid" = $1 LIMIT 1 [["uid", "298a1db1-85e2-4dd2-9847-55b1ff6a360d"]]
783
+ Completed 202 Accepted in 2ms (ActiveRecord: 0.4ms)
784
+
785
+
786
+ Started GET "/async_request/jobs/298a1db1-85e2-4dd2-9847-55b1ff6a360d" for ::1 at 2016-04-11 20:11:26 -0300
787
+ Processing by AsyncRequest::JobsController#show as */*
788
+ Parameters: {"id"=>"298a1db1-85e2-4dd2-9847-55b1ff6a360d"}
789
+ AsyncRequest::Job Load (0.3ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."uid" = $1 LIMIT 1 [["uid", "298a1db1-85e2-4dd2-9847-55b1ff6a360d"]]
790
+ Completed 202 Accepted in 9ms (ActiveRecord: 2.5ms)
791
+ AsyncRequest::Job Load (0.6ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."id" = $1 LIMIT 1 [["id", 1]]
792
+  (0.2ms) BEGIN
793
+  (0.1ms) COMMIT
794
+  (0.1ms) BEGIN
795
+ SQL (0.4ms) UPDATE "async_request_jobs" SET "status" = $1, "status_code" = $2, "response" = $3, "updated_at" = $4 WHERE "async_request_jobs"."id" = $5 [["status", 2], ["status_code", 200], ["response", "{:message=>\"you did it!\"}"], ["updated_at", "2016-04-11 23:11:35.830732"], ["id", 1]]
796
+  (0.5ms) COMMIT
797
+
798
+
799
+ Started GET "/async_request/jobs/298a1db1-85e2-4dd2-9847-55b1ff6a360d" for ::1 at 2016-04-11 20:11:39 -0300
800
+ Processing by AsyncRequest::JobsController#show as */*
801
+ Parameters: {"id"=>"298a1db1-85e2-4dd2-9847-55b1ff6a360d"}
802
+ AsyncRequest::Job Load (0.3ms) SELECT "async_request_jobs".* FROM "async_request_jobs" WHERE "async_request_jobs"."uid" = $1 LIMIT 1 [["uid", "298a1db1-85e2-4dd2-9847-55b1ff6a360d"]]
803
+ Completed 0 in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
804
+  (0.2ms) DROP DATABASE IF EXISTS "dummy_test"
805
+  (714.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
806
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
807
+  (9.8ms) CREATE TABLE "async_request_jobs" ("id" serial primary key, "worker" character varying, "status" integer, "status_code" integer, "response" text, "uid" character varying, "params" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
808
+  (3.1ms) CREATE INDEX "index_async_request_jobs_on_status" ON "async_request_jobs" USING btree ("status")
809
+  (3.3ms) CREATE UNIQUE INDEX "index_async_request_jobs_on_uid" ON "async_request_jobs" USING btree ("uid")
810
+  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
811
+  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
812
+  (0.4ms) SELECT version FROM "schema_migrations"
813
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160411190611')
814
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
815
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
816
+  (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
817
+ FROM pg_constraint c
818
+ JOIN pg_class t1 ON c.conrelid = t1.oid
819
+ JOIN pg_class t2 ON c.confrelid = t2.oid
820
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
821
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
822
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
823
+ WHERE c.contype = 'f'
824
+ AND t1.relname = 'async_request_jobs'
825
+ AND t3.nspname = ANY (current_schemas(false))
826
+ ORDER BY c.conname
827
+