async_request 0.0.7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/async_request/jobs_controller.rb +36 -6
  3. data/app/models/async_request/job.rb +49 -2
  4. data/app/poros/async_request/json_web_token.rb +26 -0
  5. data/app/workers/async_request/job_processor.rb +6 -6
  6. data/config/routes.rb +1 -1
  7. data/lib/async_request.rb +28 -0
  8. data/lib/async_request/engine.rb +2 -1
  9. data/lib/async_request/version.rb +1 -1
  10. data/lib/generators/async_request_generator.rb +6 -3
  11. data/lib/templates/async_request.rb +5 -0
  12. data/lib/templates/create_async_request_jobs.rb +1 -1
  13. data/spec/controllers/async_request/jobs_controller_spec.rb +80 -41
  14. data/spec/controllers/dummy_controller_spec.rb +49 -0
  15. data/spec/dummy/app/controllers/application_controller.rb +0 -5
  16. data/spec/dummy/app/controllers/dummy_controller.rb +11 -0
  17. data/spec/dummy/app/workers/worker_returning_nil.rb +5 -0
  18. data/spec/dummy/app/workers/worker_with_errors.rb +8 -0
  19. data/spec/dummy/app/workers/worker_with_symbol.rb +5 -0
  20. data/spec/dummy/app/workers/worker_without_errors.rb +5 -0
  21. data/spec/dummy/bin/bundle +1 -0
  22. data/spec/dummy/bin/rails +1 -0
  23. data/spec/dummy/bin/rake +1 -0
  24. data/spec/dummy/bin/setup +9 -8
  25. data/spec/dummy/config/application.rb +1 -2
  26. data/spec/dummy/config/initializers/async_request.rb +5 -0
  27. data/spec/dummy/config/routes.rb +2 -2
  28. data/spec/dummy/db/migrate/20170815023204_create_async_request_jobs.rb +16 -0
  29. data/spec/dummy/db/schema.rb +1 -1
  30. data/spec/dummy/log/test.log +0 -5472
  31. data/spec/factories/async_request_job.rb +6 -0
  32. data/spec/models/async_request/job_spec.rb +40 -0
  33. data/spec/spec_helper.rb +1 -0
  34. data/spec/support/helpers.rb +5 -0
  35. data/spec/workers/async_request/job_processor_spec.rb +47 -17
  36. metadata +85 -54
  37. data/app/assets/javascripts/async_request/application.js +0 -13
  38. data/app/assets/stylesheets/async_request/application.css +0 -15
  39. data/app/helpers/async_request/application_helper.rb +0 -15
  40. data/lib/tasks/async_request_tasks.rake +0 -4
  41. data/spec/dummy/app/workers/test.rb +0 -7
  42. data/spec/dummy/log/development.log +0 -827
  43. data/spec/helpers/async_request/application_helper_spec.rb +0 -39
@@ -1,827 +0,0 @@
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
-