koudoku 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. data/README.md +19 -3
  2. data/Rakefile +6 -13
  3. data/app/concerns/koudoku/plan.rb +2 -6
  4. data/app/concerns/koudoku/subscription.rb +73 -76
  5. data/app/controllers/koudoku/webhooks_controller.rb +2 -3
  6. data/app/helpers/koudoku/application_helper.rb +22 -0
  7. data/app/views/koudoku/subscriptions/_pricing_table.html.erb +1 -1
  8. data/{test/dummy/public/favicon.ico → config/environment.rb} +0 -0
  9. data/lib/generators/koudoku/install_generator.rb +1 -1
  10. data/lib/koudoku.rb +2 -2
  11. data/lib/koudoku/engine.rb +6 -0
  12. data/lib/koudoku/version.rb +1 -1
  13. data/spec/concerns/koudoku/plan_spec.rb +39 -0
  14. data/spec/concerns/koudoku/subscription_spec.rb +0 -0
  15. data/spec/controllers/koudoku/subscriptions_controller.rb +21 -0
  16. data/spec/controllers/koudoku/webhooks_controller_spec.rb +76 -0
  17. data/{test → spec}/dummy/README.rdoc +0 -0
  18. data/{test → spec}/dummy/Rakefile +0 -0
  19. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  20. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  21. data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  22. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  23. data/spec/dummy/app/models/coupon.rb +3 -0
  24. data/spec/dummy/app/models/customer.rb +7 -0
  25. data/spec/dummy/app/models/plan.rb +10 -0
  26. data/spec/dummy/app/models/subscription.rb +8 -0
  27. data/spec/dummy/app/views/koudoku/subscriptions/_social_proof.html.erb +11 -0
  28. data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
  29. data/{test → spec}/dummy/config.ru +0 -0
  30. data/{test → spec}/dummy/config/application.rb +2 -0
  31. data/{test → spec}/dummy/config/boot.rb +0 -0
  32. data/{test → spec}/dummy/config/database.yml +0 -0
  33. data/{test → spec}/dummy/config/environment.rb +0 -0
  34. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  35. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  36. data/{test → spec}/dummy/config/environments/test.rb +0 -0
  37. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  38. data/spec/dummy/config/initializers/devise.rb +0 -0
  39. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  40. data/spec/dummy/config/initializers/koudoku.rb +7 -0
  41. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  42. data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
  43. data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  44. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  45. data/spec/dummy/config/locales/devise.en.yml +59 -0
  46. data/{test → spec}/dummy/config/locales/en.yml +0 -0
  47. data/spec/dummy/config/routes.rb +4 -0
  48. data/spec/dummy/db/development.sqlite3 +0 -0
  49. data/spec/dummy/db/migrate/20130318201927_create_customers.rb +8 -0
  50. data/spec/dummy/db/migrate/20130318204455_create_subscriptions.rb +16 -0
  51. data/spec/dummy/db/migrate/20130318204458_create_plans.rb +14 -0
  52. data/spec/dummy/db/migrate/20130318204502_create_coupons.rb +10 -0
  53. data/spec/dummy/db/migrate/20130520163946_add_interval_to_plan.rb +5 -0
  54. data/spec/dummy/db/schema.rb +53 -0
  55. data/spec/dummy/db/test.sqlite3 +0 -0
  56. data/spec/dummy/log/development.log +931 -0
  57. data/spec/dummy/log/test.log +2728 -0
  58. data/{test → spec}/dummy/public/404.html +0 -0
  59. data/{test → spec}/dummy/public/422.html +0 -0
  60. data/{test → spec}/dummy/public/500.html +0 -0
  61. data/spec/dummy/public/favicon.ico +0 -0
  62. data/{test → spec}/dummy/script/rails +0 -0
  63. data/spec/dummy/spec/factories/coupons.rb +8 -0
  64. data/spec/dummy/spec/factories/plans.rb +12 -0
  65. data/spec/dummy/spec/factories/subscriptions.rb +14 -0
  66. data/spec/dummy/spec/models/coupon_spec.rb +5 -0
  67. data/spec/dummy/spec/models/plan_spec.rb +5 -0
  68. data/spec/dummy/spec/models/subscription_spec.rb +5 -0
  69. data/spec/dummy/test/fixtures/customers.yml +7 -0
  70. data/{test/integration/navigation_test.rb → spec/dummy/test/unit/customer_test.rb} +1 -4
  71. data/spec/helpers/koudoku/application_helper_spec.rb +29 -0
  72. data/spec/spec_helper.rb +31 -0
  73. metadata +218 -67
  74. data/test/dummy/config/routes.rb +0 -4
  75. data/test/koudoku_test.rb +0 -7
  76. data/test/test_helper.rb +0 -15
@@ -0,0 +1,2728 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+ Connecting to database specified by database.yml
6
+ Connecting to database specified by database.yml
7
+ Connecting to database specified by database.yml
8
+ Connecting to database specified by database.yml
9
+  (0.4ms) begin transaction
10
+  (0.1ms) rollback transaction
11
+ Connecting to database specified by database.yml
12
+ Connecting to database specified by database.yml
13
+  (0.3ms) begin transaction
14
+  (0.1ms) rollback transaction
15
+  (0.0ms) begin transaction
16
+  (0.0ms) rollback transaction
17
+ Connecting to database specified by database.yml
18
+  (0.3ms) begin transaction
19
+  (0.1ms) rollback transaction
20
+  (0.1ms) begin transaction
21
+  (0.1ms) rollback transaction
22
+ Connecting to database specified by database.yml
23
+  (0.3ms) begin transaction
24
+ Processing by Koudoku::SubscriptionsController#index as HTML
25
+ Completed 500 Internal Server Error in 3ms
26
+  (0.1ms) rollback transaction
27
+  (0.1ms) begin transaction
28
+  (0.1ms) rollback transaction
29
+ Connecting to database specified by database.yml
30
+  (0.4ms) begin transaction
31
+ Processing by Koudoku::SubscriptionsController#index as HTML
32
+ Completed 500 Internal Server Error in 3ms
33
+  (0.1ms) rollback transaction
34
+  (0.0ms) begin transaction
35
+  (0.1ms) rollback transaction
36
+ Connecting to database specified by database.yml
37
+  (0.4ms) begin transaction
38
+ Processing by Koudoku::SubscriptionsController#index as HTML
39
+ Completed 500 Internal Server Error in 3ms
40
+  (0.0ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+  (0.0ms) rollback transaction
43
+ Connecting to database specified by database.yml
44
+  (0.4ms) begin transaction
45
+ Processing by Koudoku::SubscriptionsController#index as HTML
46
+ Completed 500 Internal Server Error in 3ms
47
+  (0.0ms) rollback transaction
48
+  (0.1ms) begin transaction
49
+  (0.0ms) rollback transaction
50
+ Connecting to database specified by database.yml
51
+  (0.4ms) begin transaction
52
+ Processing by Koudoku::SubscriptionsController#index as HTML
53
+ Completed 500 Internal Server Error in 1ms
54
+  (0.1ms) rollback transaction
55
+  (0.0ms) begin transaction
56
+  (0.0ms) rollback transaction
57
+ Connecting to database specified by database.yml
58
+  (0.4ms) begin transaction
59
+ Processing by Koudoku::SubscriptionsController#index as HTML
60
+ Completed 500 Internal Server Error in 1ms
61
+  (0.1ms) rollback transaction
62
+  (0.0ms) begin transaction
63
+  (0.0ms) rollback transaction
64
+ Connecting to database specified by database.yml
65
+  (0.5ms) begin transaction
66
+ Processing by Koudoku::SubscriptionsController#index as HTML
67
+ Completed 500 Internal Server Error in 233481ms
68
+  (0.1ms) rollback transaction
69
+  (0.1ms) begin transaction
70
+  (0.1ms) rollback transaction
71
+ Connecting to database specified by database.yml
72
+ Connecting to database specified by database.yml
73
+  (0.6ms) begin transaction
74
+ Processing by Koudoku::SubscriptionsController#index as HTML
75
+ Completed 500 Internal Server Error in 5641ms
76
+  (0.1ms) rollback transaction
77
+  (0.1ms) begin transaction
78
+  (0.0ms) rollback transaction
79
+ Connecting to database specified by database.yml
80
+  (0.1ms) begin transaction
81
+ SQL (9.3ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 20:43:58 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 20:43:58 UTC +00:00]]
82
+  (1.0ms) commit transaction
83
+  (0.1ms) begin transaction
84
+  (0.1ms) rollback transaction
85
+ Connecting to database specified by database.yml
86
+  (0.5ms) begin transaction
87
+  (0.1ms) rollback transaction
88
+  (0.1ms) begin transaction
89
+ SQL (4.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 20:48:02 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 20:48:02 UTC +00:00]]
90
+  (2.6ms) commit transaction
91
+ Connecting to database specified by database.yml
92
+  (0.4ms) begin transaction
93
+  (0.1ms) rollback transaction
94
+  (0.1ms) begin transaction
95
+ SQL (4.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 20:49:18 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 20:49:18 UTC +00:00]]
96
+  (1.8ms) commit transaction
97
+ Connecting to database specified by database.yml
98
+  (0.4ms) begin transaction
99
+  (0.1ms) rollback transaction
100
+  (0.1ms) begin transaction
101
+ SQL (4.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 20:49:31 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 20:49:31 UTC +00:00]]
102
+  (2.2ms) commit transaction
103
+ Connecting to database specified by database.yml
104
+  (0.4ms) begin transaction
105
+  (0.1ms) rollback transaction
106
+  (0.0ms) begin transaction
107
+ SQL (4.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 20:49:46 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 20:49:46 UTC +00:00]]
108
+  (1.2ms) commit transaction
109
+  (0.0ms) begin transaction
110
+ Processing by Koudoku::SubscriptionsController#index as HTML
111
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."customer_id" = 1 LIMIT 1
112
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY display_order
113
+ Completed 200 OK in 6731ms (Views: 51.4ms | ActiveRecord: 0.8ms)
114
+  (0.1ms) rollback transaction
115
+ Connecting to database specified by database.yml
116
+  (0.5ms) begin transaction
117
+ Processing by Koudoku::SubscriptionsController#index as HTML
118
+ Plan Load (0.3ms) SELECT "plans".* FROM "plans" ORDER BY price
119
+ Completed 500 Internal Server Error in 1924ms
120
+  (0.1ms) rollback transaction
121
+  (0.1ms) begin transaction
122
+ Processing by Koudoku::WebhooksController#create as HTML
123
+ Completed 500 Internal Server Error in 1ms
124
+  (0.1ms) rollback transaction
125
+ Connecting to database specified by database.yml
126
+  (0.4ms) begin transaction
127
+ Processing by Koudoku::SubscriptionsController#index as HTML
128
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
129
+ Completed 500 Internal Server Error in 29482ms
130
+  (0.1ms) rollback transaction
131
+  (0.1ms) begin transaction
132
+ Processing by Koudoku::WebhooksController#create as HTML
133
+ Completed 500 Internal Server Error in 0ms
134
+  (0.1ms) rollback transaction
135
+  (0.1ms) begin transaction
136
+ Processing by Koudoku::WebhooksController#create as HTML
137
+ Completed 500 Internal Server Error in 0ms
138
+  (0.1ms) rollback transaction
139
+ Connecting to database specified by database.yml
140
+  (0.4ms) begin transaction
141
+ Processing by Koudoku::WebhooksController#create as HTML
142
+ Completed 500 Internal Server Error in 0ms
143
+  (0.1ms) rollback transaction
144
+  (0.0ms) begin transaction
145
+ Processing by Koudoku::WebhooksController#create as HTML
146
+ Completed 500 Internal Server Error in 0ms
147
+  (0.0ms) rollback transaction
148
+  (0.0ms) begin transaction
149
+ Processing by Koudoku::SubscriptionsController#index as HTML
150
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
151
+ Completed 500 Internal Server Error in 1359ms
152
+  (0.1ms) rollback transaction
153
+ Connecting to database specified by database.yml
154
+  (0.4ms) begin transaction
155
+ Processing by Koudoku::SubscriptionsController#index as HTML
156
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
157
+ Completed 500 Internal Server Error in 1633ms
158
+  (0.1ms) rollback transaction
159
+  (0.1ms) begin transaction
160
+ Processing by Koudoku::WebhooksController#create as HTML
161
+ Completed 500 Internal Server Error in 550125ms
162
+  (0.1ms) rollback transaction
163
+  (0.1ms) begin transaction
164
+ Processing by Koudoku::WebhooksController#create as HTML
165
+ Completed 500 Internal Server Error in 635ms
166
+  (0.1ms) rollback transaction
167
+ Connecting to database specified by database.yml
168
+  (0.4ms) begin transaction
169
+ Processing by Koudoku::SubscriptionsController#index as HTML
170
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
171
+ Completed 500 Internal Server Error in 5ms
172
+  (0.1ms) rollback transaction
173
+  (0.1ms) begin transaction
174
+ Processing by Koudoku::WebhooksController#create as HTML
175
+ Completed 500 Internal Server Error in 24931ms
176
+  (0.1ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+ Processing by Koudoku::WebhooksController#create as HTML
179
+ Completed 500 Internal Server Error in 745ms
180
+  (0.1ms) rollback transaction
181
+ Connecting to database specified by database.yml
182
+  (0.4ms) begin transaction
183
+ Processing by Koudoku::SubscriptionsController#index as HTML
184
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
185
+ Completed 500 Internal Server Error in 5ms
186
+  (0.1ms) rollback transaction
187
+  (0.1ms) begin transaction
188
+ Processing by Koudoku::WebhooksController#create as HTML
189
+ Completed 500 Internal Server Error in 48819ms
190
+  (0.2ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+ Processing by Koudoku::WebhooksController#create as HTML
193
+ Completed 500 Internal Server Error in 727ms
194
+  (0.2ms) rollback transaction
195
+ Connecting to database specified by database.yml
196
+  (0.4ms) begin transaction
197
+ Processing by Koudoku::SubscriptionsController#index as HTML
198
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
199
+ Completed 500 Internal Server Error in 5ms
200
+  (0.1ms) rollback transaction
201
+  (0.1ms) begin transaction
202
+ Processing by Koudoku::WebhooksController#create as HTML
203
+ Completed 500 Internal Server Error in 2707ms
204
+  (0.1ms) rollback transaction
205
+  (0.1ms) begin transaction
206
+ Processing by Koudoku::WebhooksController#create as HTML
207
+ Completed 500 Internal Server Error in 2563ms
208
+  (0.2ms) rollback transaction
209
+ Connecting to database specified by database.yml
210
+  (0.4ms) begin transaction
211
+ Processing by Koudoku::SubscriptionsController#index as HTML
212
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
213
+ Completed 500 Internal Server Error in 5ms
214
+  (0.1ms) rollback transaction
215
+  (0.0ms) begin transaction
216
+  (0.1ms) rollback transaction
217
+  (0.0ms) begin transaction
218
+  (0.0ms) rollback transaction
219
+ Connecting to database specified by database.yml
220
+  (0.4ms) begin transaction
221
+ Processing by Koudoku::SubscriptionsController#index as HTML
222
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
223
+ Completed 500 Internal Server Error in 5ms
224
+  (0.1ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+  (0.1ms) rollback transaction
227
+  (0.0ms) begin transaction
228
+  (0.0ms) rollback transaction
229
+ Connecting to database specified by database.yml
230
+  (0.5ms) begin transaction
231
+ Processing by Koudoku::WebhooksController#create as HTML
232
+ Parameters: {"api_key"=>"not-the-api-key"}
233
+ Completed 500 Internal Server Error in 14737ms
234
+  (0.3ms) rollback transaction
235
+  (0.1ms) begin transaction
236
+ Processing by Koudoku::WebhooksController#create as HTML
237
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
238
+ Completed 200 OK in 875ms (Views: 52.1ms | ActiveRecord: 0.0ms)
239
+  (0.1ms) rollback transaction
240
+  (0.1ms) begin transaction
241
+ Processing by Koudoku::SubscriptionsController#index as HTML
242
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
243
+ Completed 500 Internal Server Error in 5ms
244
+  (0.1ms) rollback transaction
245
+ Connecting to database specified by database.yml
246
+  (0.6ms) begin transaction
247
+ Processing by Koudoku::SubscriptionsController#index as HTML
248
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
249
+ Completed 500 Internal Server Error in 6ms
250
+  (0.1ms) rollback transaction
251
+  (0.1ms) begin transaction
252
+ Processing by Koudoku::WebhooksController#create as HTML
253
+ Parameters: {"api_key"=>"not-the-api-key"}
254
+ Completed 500 Internal Server Error in 0ms
255
+  (0.1ms) rollback transaction
256
+  (0.0ms) begin transaction
257
+ Processing by Koudoku::WebhooksController#create as HTML
258
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
259
+ Completed 200 OK in 52ms (Views: 51.7ms | ActiveRecord: 0.0ms)
260
+  (0.1ms) rollback transaction
261
+ Connecting to database specified by database.yml
262
+  (0.5ms) begin transaction
263
+ Processing by Koudoku::WebhooksController#create as HTML
264
+ Parameters: {"api_key"=>"not-the-api-key"}
265
+ Completed 500 Internal Server Error in 0ms
266
+  (0.1ms) rollback transaction
267
+  (0.1ms) begin transaction
268
+ Processing by Koudoku::WebhooksController#create as HTML
269
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
270
+ Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.0ms)
271
+  (0.1ms) rollback transaction
272
+  (0.1ms) begin transaction
273
+  (0.1ms) SAVEPOINT active_record_1
274
+ SQL (4.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:12:33 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:12:33 UTC +00:00]]
275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
276
+  (1.3ms) rollback transaction
277
+  (0.2ms) begin transaction
278
+ Processing by Koudoku::SubscriptionsController#index as HTML
279
+ Plan Load (0.2ms) SELECT "plans".* FROM "plans" ORDER BY price
280
+ Completed 500 Internal Server Error in 4ms
281
+  (0.1ms) rollback transaction
282
+ Connecting to database specified by database.yml
283
+  (0.4ms) begin transaction
284
+ Processing by Koudoku::SubscriptionsController#index as HTML
285
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY price
286
+ Completed 500 Internal Server Error in 5ms
287
+  (0.1ms) rollback transaction
288
+  (0.0ms) begin transaction
289
+  (0.0ms) SAVEPOINT active_record_1
290
+ SQL (4.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:12:47 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:12:47 UTC +00:00]]
291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
292
+ Processing by Koudoku::SubscriptionsController#index as HTML
293
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."customer_id" = 1 LIMIT 1
294
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY display_order
295
+ Completed 200 OK in 65ms (Views: 11.7ms | ActiveRecord: 0.4ms)
296
+  (2.6ms) rollback transaction
297
+  (0.1ms) begin transaction
298
+ Processing by Koudoku::WebhooksController#create as HTML
299
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
300
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
301
+  (0.1ms) rollback transaction
302
+  (0.0ms) begin transaction
303
+ Processing by Koudoku::WebhooksController#create as HTML
304
+ Parameters: {"api_key"=>"not-the-api-key"}
305
+ Completed 500 Internal Server Error in 0ms
306
+  (0.0ms) rollback transaction
307
+ Connecting to database specified by database.yml
308
+  (0.4ms) begin transaction
309
+ Processing by Koudoku::WebhooksController#create as HTML
310
+ Parameters: {"api_key"=>"not-the-api-key"}
311
+ Completed 500 Internal Server Error in 1ms
312
+  (0.1ms) rollback transaction
313
+  (0.0ms) begin transaction
314
+ Processing by Koudoku::WebhooksController#create as HTML
315
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
316
+ Completed 200 OK in 48ms (Views: 48.1ms | ActiveRecord: 0.0ms)
317
+  (0.1ms) rollback transaction
318
+  (0.0ms) begin transaction
319
+  (0.1ms) SAVEPOINT active_record_1
320
+ SQL (4.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:13:48 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:13:48 UTC +00:00]]
321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
322
+ Processing by Koudoku::SubscriptionsController#index as HTML
323
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."customer_id" = 1 LIMIT 1
324
+ Plan Load (0.1ms) SELECT "plans".* FROM "plans" ORDER BY display_order
325
+ Completed 200 OK in 25ms (Views: 4.0ms | ActiveRecord: 1.3ms)
326
+  (1.6ms) rollback transaction
327
+  (0.1ms) begin transaction
328
+ Processing by Koudoku::SubscriptionsController#index as HTML
329
+ Plan Load (0.3ms) SELECT "plans".* FROM "plans" ORDER BY display_order
330
+ Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms)
331
+  (0.1ms) rollback transaction
332
+ Connecting to database specified by database.yml
333
+  (0.4ms) begin transaction
334
+ Processing by Koudoku::WebhooksController#create as HTML
335
+ Parameters: {"api_key"=>"not-the-api-key"}
336
+ Completed 500 Internal Server Error in 1ms
337
+  (0.1ms) rollback transaction
338
+  (0.1ms) begin transaction
339
+ Processing by Koudoku::WebhooksController#create as HTML
340
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
341
+ Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
342
+  (0.1ms) rollback transaction
343
+ Connecting to database specified by database.yml
344
+ Connecting to database specified by database.yml
345
+ Connecting to database specified by database.yml
346
+ Connecting to database specified by database.yml
347
+ Connecting to database specified by database.yml
348
+  (0.4ms) begin transaction
349
+ Processing by Koudoku::WebhooksController#create as HTML
350
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
351
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
352
+ Completed 500 Internal Server Error in 12ms
353
+  (0.1ms) rollback transaction
354
+  (0.1ms) begin transaction
355
+  (0.1ms) SAVEPOINT active_record_1
356
+ SQL (5.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:32:52 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:32:52 UTC +00:00]]
357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
358
+  (0.4ms) rollback transaction
359
+  (0.1ms) begin transaction
360
+  (0.1ms) SAVEPOINT active_record_1
361
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:32:52 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:32:52 UTC +00:00]]
362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
363
+  (0.4ms) rollback transaction
364
+  (0.1ms) begin transaction
365
+ Processing by Koudoku::WebhooksController#create as HTML
366
+ Parameters: {"api_key"=>"not-the-api-key"}
367
+ Completed 500 Internal Server Error in 0ms
368
+  (0.1ms) rollback transaction
369
+  (0.1ms) begin transaction
370
+ Processing by Koudoku::WebhooksController#create as HTML
371
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
372
+ Completed 200 OK in 49ms (Views: 48.6ms | ActiveRecord: 0.0ms)
373
+  (0.1ms) rollback transaction
374
+ Connecting to database specified by database.yml
375
+  (0.4ms) begin transaction
376
+ Processing by Koudoku::WebhooksController#create as HTML
377
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
378
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
379
+ Completed 500 Internal Server Error in 7ms
380
+  (0.1ms) rollback transaction
381
+  (0.0ms) begin transaction
382
+ Processing by Koudoku::WebhooksController#create as HTML
383
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
384
+ Completed 200 OK in 46ms (Views: 45.3ms | ActiveRecord: 0.0ms)
385
+  (0.1ms) rollback transaction
386
+  (0.1ms) begin transaction
387
+ Processing by Koudoku::WebhooksController#create as HTML
388
+ Parameters: {"api_key"=>"not-the-api-key"}
389
+ Completed 500 Internal Server Error in 0ms
390
+  (0.0ms) rollback transaction
391
+  (0.0ms) begin transaction
392
+  (0.0ms) SAVEPOINT active_record_1
393
+ SQL (4.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00]]
394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
395
+  (0.1ms) SAVEPOINT active_record_1
396
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00], ["current_price", nil], ["customer_id", nil], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00]]
397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
398
+  (0.1ms) SAVEPOINT active_record_1
399
+  (0.1ms) UPDATE "subscriptions" SET "customer_id" = 1, "updated_at" = '2013-03-18 21:35:06.473309' WHERE "subscriptions"."id" = 1
400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
401
+ Processing by Koudoku::WebhooksController#create as HTML
402
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
403
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 1 LIMIT 1
404
+ Completed 500 Internal Server Error in 1ms
405
+  (0.5ms) rollback transaction
406
+  (0.1ms) begin transaction
407
+  (0.0ms) SAVEPOINT active_record_1
408
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00]]
409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
410
+  (0.0ms) SAVEPOINT active_record_1
411
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00], ["current_price", nil], ["customer_id", nil], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:35:06 UTC +00:00]]
412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
413
+  (0.0ms) SAVEPOINT active_record_1
414
+  (0.1ms) UPDATE "subscriptions" SET "customer_id" = 1, "updated_at" = '2013-03-18 21:35:06.486015' WHERE "subscriptions"."id" = 1
415
+  (0.0ms) RELEASE SAVEPOINT active_record_1
416
+ Processing by Koudoku::WebhooksController#create as HTML
417
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
418
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 1 LIMIT 1
419
+ Completed 500 Internal Server Error in 1ms
420
+  (0.5ms) rollback transaction
421
+ Connecting to database specified by database.yml
422
+  (0.4ms) begin transaction
423
+ Processing by Koudoku::WebhooksController#create as HTML
424
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
425
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
426
+ Completed 500 Internal Server Error in 11ms
427
+  (0.1ms) rollback transaction
428
+  (0.1ms) begin transaction
429
+  (0.1ms) SAVEPOINT active_record_1
430
+ SQL (6.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:37:04 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:37:04 UTC +00:00]]
431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
432
+  (0.1ms) SAVEPOINT active_record_1
433
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:37:04 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:37:04 UTC +00:00]]
434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
435
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'customer-id' LIMIT 1
436
+ Processing by Koudoku::WebhooksController#create as HTML
437
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
438
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 1 LIMIT 1
439
+ Completed 500 Internal Server Error in 2ms
440
+  (0.3ms) rollback transaction
441
+  (0.1ms) begin transaction
442
+  (0.0ms) SAVEPOINT active_record_1
443
+ SQL (0.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:37:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:37:20 UTC +00:00]]
444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
445
+  (0.1ms) SAVEPOINT active_record_1
446
+ SQL (0.8ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:37:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:37:20 UTC +00:00]]
447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
448
+ Processing by Koudoku::WebhooksController#create as HTML
449
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
450
+ Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 1 LIMIT 1
451
+ Completed 500 Internal Server Error in 2ms
452
+  (1.7ms) rollback transaction
453
+  (0.1ms) begin transaction
454
+ Processing by Koudoku::WebhooksController#create as HTML
455
+ Parameters: {"api_key"=>"not-the-api-key"}
456
+ Completed 500 Internal Server Error in 0ms
457
+  (0.1ms) rollback transaction
458
+  (0.1ms) begin transaction
459
+ Processing by Koudoku::WebhooksController#create as HTML
460
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
461
+ Completed 200 OK in 52ms (Views: 51.9ms | ActiveRecord: 0.0ms)
462
+  (0.1ms) rollback transaction
463
+ Connecting to database specified by database.yml
464
+  (0.4ms) begin transaction
465
+ Processing by Koudoku::WebhooksController#create as HTML
466
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
467
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
468
+ Completed 500 Internal Server Error in 83446ms
469
+  (0.1ms) rollback transaction
470
+  (0.1ms) begin transaction
471
+  (0.1ms) SAVEPOINT active_record_1
472
+ SQL (5.0ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:39:35 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:39:35 UTC +00:00]]
473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
474
+  (0.1ms) SAVEPOINT active_record_1
475
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:39:35 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:39:35 UTC +00:00]]
476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
477
+ Processing by Koudoku::WebhooksController#create as HTML
478
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
479
+ Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 1 LIMIT 1
480
+ Completed 500 Internal Server Error in 44823ms
481
+  (0.4ms) rollback transaction
482
+  (0.1ms) begin transaction
483
+  (0.1ms) SAVEPOINT active_record_1
484
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:40:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:40:20 UTC +00:00]]
485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
486
+  (0.0ms) SAVEPOINT active_record_1
487
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:40:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:40:20 UTC +00:00]]
488
+  (0.1ms) RELEASE SAVEPOINT active_record_1
489
+ Processing by Koudoku::WebhooksController#create as HTML
490
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
491
+ Subscription Load (0.5ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 1 LIMIT 1
492
+ Completed 500 Internal Server Error in 621ms
493
+  (1.6ms) rollback transaction
494
+  (0.1ms) begin transaction
495
+ Processing by Koudoku::WebhooksController#create as HTML
496
+ Parameters: {"api_key"=>"not-the-api-key"}
497
+ Completed 500 Internal Server Error in 0ms
498
+  (0.1ms) rollback transaction
499
+  (0.0ms) begin transaction
500
+ Processing by Koudoku::WebhooksController#create as HTML
501
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
502
+ Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms)
503
+  (0.1ms) rollback transaction
504
+ Connecting to database specified by database.yml
505
+  (0.4ms) begin transaction
506
+ Processing by Koudoku::WebhooksController#create as HTML
507
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
508
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
509
+ Completed 500 Internal Server Error in 1694ms
510
+  (0.1ms) rollback transaction
511
+  (0.1ms) begin transaction
512
+  (0.1ms) SAVEPOINT active_record_1
513
+ SQL (6.0ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:40:30 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:40:30 UTC +00:00]]
514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
515
+  (0.1ms) SAVEPOINT active_record_1
516
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:40:30 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:40:30 UTC +00:00]]
517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
518
+ Processing by Koudoku::WebhooksController#create as HTML
519
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
520
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'customer-id' LIMIT 1
521
+ Completed 200 OK in 475ms (Views: 14.4ms | ActiveRecord: 0.4ms)
522
+  (1.6ms) rollback transaction
523
+  (0.1ms) begin transaction
524
+  (0.1ms) SAVEPOINT active_record_1
525
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:40:31 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:40:31 UTC +00:00]]
526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
527
+  (0.0ms) SAVEPOINT active_record_1
528
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:40:31 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:40:31 UTC +00:00]]
529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
530
+ Processing by Koudoku::WebhooksController#create as HTML
531
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
532
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'customer-id' LIMIT 1
533
+ Completed 200 OK in 967ms (Views: 0.6ms | ActiveRecord: 0.4ms)
534
+  (0.5ms) rollback transaction
535
+  (0.1ms) begin transaction
536
+ Processing by Koudoku::WebhooksController#create as HTML
537
+ Parameters: {"api_key"=>"not-the-api-key"}
538
+ Completed 500 Internal Server Error in 0ms
539
+  (0.1ms) rollback transaction
540
+  (0.1ms) begin transaction
541
+ Processing by Koudoku::WebhooksController#create as HTML
542
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
543
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
544
+  (0.1ms) rollback transaction
545
+ Connecting to database specified by database.yml
546
+  (0.4ms) begin transaction
547
+ Processing by Koudoku::WebhooksController#create as HTML
548
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
549
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
550
+ Completed 500 Internal Server Error in 4302ms
551
+  (0.1ms) rollback transaction
552
+  (0.1ms) begin transaction
553
+  (0.1ms) SAVEPOINT active_record_1
554
+ SQL (4.9ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00]]
555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
556
+  (0.1ms) SAVEPOINT active_record_1
557
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00]]
558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
559
+ Processing by Koudoku::WebhooksController#create as HTML
560
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
561
+ Completed 200 OK in 431ms (Views: 17.7ms | ActiveRecord: 0.0ms)
562
+  (1.7ms) rollback transaction
563
+  (0.1ms) begin transaction
564
+  (0.0ms) SAVEPOINT active_record_1
565
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00]]
566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
567
+  (0.0ms) SAVEPOINT active_record_1
568
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:41:19 UTC +00:00]]
569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
570
+ Processing by Koudoku::WebhooksController#create as HTML
571
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
572
+ Completed 200 OK in 701ms (Views: 0.9ms | ActiveRecord: 0.0ms)
573
+  (1.6ms) rollback transaction
574
+  (0.1ms) begin transaction
575
+ Processing by Koudoku::WebhooksController#create as HTML
576
+ Parameters: {"api_key"=>"not-the-api-key"}
577
+ Completed 500 Internal Server Error in 0ms
578
+  (0.1ms) rollback transaction
579
+  (0.0ms) begin transaction
580
+ Processing by Koudoku::WebhooksController#create as HTML
581
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
582
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
583
+  (0.1ms) rollback transaction
584
+ Connecting to database specified by database.yml
585
+  (0.4ms) begin transaction
586
+ Processing by Koudoku::WebhooksController#create as HTML
587
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
588
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
589
+ Completed 500 Internal Server Error in 8ms
590
+  (0.1ms) rollback transaction
591
+  (0.0ms) begin transaction
592
+ Processing by Koudoku::WebhooksController#create as HTML
593
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
594
+ Completed 200 OK in 45ms (Views: 45.0ms | ActiveRecord: 0.0ms)
595
+  (0.1ms) rollback transaction
596
+  (0.0ms) begin transaction
597
+ Processing by Koudoku::WebhooksController#create as HTML
598
+ Parameters: {"api_key"=>"not-the-api-key"}
599
+ Completed 500 Internal Server Error in 0ms
600
+  (0.0ms) rollback transaction
601
+  (0.0ms) begin transaction
602
+  (0.0ms) SAVEPOINT active_record_1
603
+ SQL (4.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00]]
604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
605
+  (0.1ms) SAVEPOINT active_record_1
606
+ SQL (0.9ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00]]
607
+  (0.1ms) RELEASE SAVEPOINT active_record_1
608
+ Processing by Koudoku::WebhooksController#create as HTML
609
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
610
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
611
+  (2.9ms) rollback transaction
612
+  (0.1ms) begin transaction
613
+  (0.1ms) SAVEPOINT active_record_1
614
+ SQL (0.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00]]
615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
616
+  (0.0ms) SAVEPOINT active_record_1
617
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:41:34 UTC +00:00]]
618
+  (0.1ms) RELEASE SAVEPOINT active_record_1
619
+ Processing by Koudoku::WebhooksController#create as HTML
620
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
621
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
622
+  (0.6ms) rollback transaction
623
+ Connecting to database specified by database.yml
624
+  (0.4ms) begin transaction
625
+ Processing by Koudoku::WebhooksController#create as HTML
626
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
627
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
628
+ Completed 500 Internal Server Error in 7ms
629
+  (0.1ms) rollback transaction
630
+  (0.1ms) begin transaction
631
+  (0.0ms) SAVEPOINT active_record_1
632
+ SQL (8.3ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:45:37 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:45:37 UTC +00:00]]
633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
634
+  (0.1ms) SAVEPOINT active_record_1
635
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:45:37 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:45:37 UTC +00:00]]
636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
637
+ Processing by Koudoku::WebhooksController#create as HTML
638
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
639
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
640
+  (1.8ms) rollback transaction
641
+  (0.1ms) begin transaction
642
+  (0.1ms) SAVEPOINT active_record_1
643
+ SQL (0.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
645
+  (0.0ms) SAVEPOINT active_record_1
646
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
648
+ Processing by Koudoku::WebhooksController#create as HTML
649
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
650
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
651
+  (0.6ms) rollback transaction
652
+  (0.1ms) begin transaction
653
+  (0.0ms) SAVEPOINT active_record_1
654
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
656
+  (0.0ms) SAVEPOINT active_record_1
657
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
659
+ Processing by Koudoku::WebhooksController#create as HTML
660
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
661
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
662
+  (0.5ms) rollback transaction
663
+  (0.1ms) begin transaction
664
+  (0.0ms) SAVEPOINT active_record_1
665
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
667
+  (0.0ms) SAVEPOINT active_record_1
668
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
670
+ Processing by Koudoku::WebhooksController#create as HTML
671
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
672
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
673
+  (0.5ms) rollback transaction
674
+  (0.1ms) begin transaction
675
+  (0.1ms) SAVEPOINT active_record_1
676
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
678
+  (0.0ms) SAVEPOINT active_record_1
679
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
681
+ Processing by Koudoku::WebhooksController#create as HTML
682
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
683
+ Completed 500 Internal Server Error in 1ms
684
+  (0.5ms) rollback transaction
685
+  (0.1ms) begin transaction
686
+  (0.0ms) SAVEPOINT active_record_1
687
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
689
+  (0.1ms) SAVEPOINT active_record_1
690
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:45:38 UTC +00:00]]
691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
692
+ Processing by Koudoku::WebhooksController#create as HTML
693
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
694
+ Completed 500 Internal Server Error in 1ms
695
+  (0.7ms) rollback transaction
696
+  (0.1ms) begin transaction
697
+ Processing by Koudoku::WebhooksController#create as HTML
698
+ Parameters: {"api_key"=>"not-the-api-key"}
699
+ Completed 500 Internal Server Error in 0ms
700
+  (0.0ms) rollback transaction
701
+  (0.0ms) begin transaction
702
+ Processing by Koudoku::WebhooksController#create as HTML
703
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
704
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
705
+  (0.1ms) rollback transaction
706
+ Connecting to database specified by database.yml
707
+  (0.4ms) begin transaction
708
+ Processing by Koudoku::WebhooksController#create as HTML
709
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
710
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
711
+ Completed 500 Internal Server Error in 8ms
712
+  (0.1ms) rollback transaction
713
+  (0.1ms) begin transaction
714
+  (0.0ms) SAVEPOINT active_record_1
715
+ SQL (6.2ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
717
+  (0.1ms) SAVEPOINT active_record_1
718
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
720
+ Processing by Koudoku::WebhooksController#create as HTML
721
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
722
+ Completed 200 OK in 11ms (Views: 11.1ms | ActiveRecord: 0.0ms)
723
+  (1.7ms) rollback transaction
724
+  (0.1ms) begin transaction
725
+  (0.0ms) SAVEPOINT active_record_1
726
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
728
+  (0.0ms) SAVEPOINT active_record_1
729
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
731
+ Processing by Koudoku::WebhooksController#create as HTML
732
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
733
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
734
+  (0.6ms) rollback transaction
735
+  (0.1ms) begin transaction
736
+  (0.0ms) SAVEPOINT active_record_1
737
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
738
+  (0.0ms) RELEASE SAVEPOINT active_record_1
739
+  (0.0ms) SAVEPOINT active_record_1
740
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
742
+ Processing by Koudoku::WebhooksController#create as HTML
743
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
744
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
745
+  (0.5ms) rollback transaction
746
+  (0.0ms) begin transaction
747
+  (0.1ms) SAVEPOINT active_record_1
748
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
750
+  (0.0ms) SAVEPOINT active_record_1
751
+ SQL (1.2ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
753
+ Processing by Koudoku::WebhooksController#create as HTML
754
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
755
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
756
+  (0.6ms) rollback transaction
757
+  (0.0ms) begin transaction
758
+  (0.0ms) SAVEPOINT active_record_1
759
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
761
+  (0.0ms) SAVEPOINT active_record_1
762
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
764
+ Processing by Koudoku::WebhooksController#create as HTML
765
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
766
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
767
+  (0.5ms) rollback transaction
768
+  (0.1ms) begin transaction
769
+  (0.0ms) SAVEPOINT active_record_1
770
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
772
+  (0.0ms) SAVEPOINT active_record_1
773
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 21:46:26 UTC +00:00]]
774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
775
+ Processing by Koudoku::WebhooksController#create as HTML
776
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
777
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
778
+  (0.6ms) rollback transaction
779
+  (0.1ms) begin transaction
780
+ Processing by Koudoku::WebhooksController#create as HTML
781
+ Parameters: {"api_key"=>"not-the-api-key"}
782
+ Completed 500 Internal Server Error in 0ms
783
+  (0.1ms) rollback transaction
784
+  (0.1ms) begin transaction
785
+ Processing by Koudoku::WebhooksController#create as HTML
786
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
787
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
788
+  (0.1ms) rollback transaction
789
+ Connecting to database specified by database.yml
790
+  (0.4ms) begin transaction
791
+ Processing by Koudoku::WebhooksController#create as HTML
792
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
793
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
794
+ Completed 500 Internal Server Error in 7ms
795
+  (0.1ms) rollback transaction
796
+  (0.0ms) begin transaction
797
+  (0.0ms) SAVEPOINT active_record_1
798
+ SQL (6.0ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:12 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:12 UTC +00:00]]
799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
800
+  (0.1ms) SAVEPOINT active_record_1
801
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
803
+ Processing by Koudoku::WebhooksController#create as HTML
804
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
805
+ Completed 200 OK in 13ms (Views: 13.1ms | ActiveRecord: 0.0ms)
806
+  (0.6ms) rollback transaction
807
+  (0.1ms) begin transaction
808
+  (0.0ms) SAVEPOINT active_record_1
809
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
811
+  (0.0ms) SAVEPOINT active_record_1
812
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
814
+ Processing by Koudoku::WebhooksController#create as HTML
815
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
816
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
817
+  (0.5ms) rollback transaction
818
+  (0.1ms) begin transaction
819
+  (0.0ms) SAVEPOINT active_record_1
820
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
822
+  (0.0ms) SAVEPOINT active_record_1
823
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
825
+ Processing by Koudoku::WebhooksController#create as HTML
826
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
827
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
828
+  (0.6ms) rollback transaction
829
+  (0.0ms) begin transaction
830
+  (0.0ms) SAVEPOINT active_record_1
831
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
833
+  (0.0ms) SAVEPOINT active_record_1
834
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
836
+ Processing by Koudoku::WebhooksController#create as HTML
837
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
838
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
839
+  (0.5ms) rollback transaction
840
+  (0.0ms) begin transaction
841
+  (0.0ms) SAVEPOINT active_record_1
842
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
844
+  (0.0ms) SAVEPOINT active_record_1
845
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
847
+ Processing by Koudoku::WebhooksController#create as HTML
848
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
849
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
850
+  (0.6ms) rollback transaction
851
+  (0.1ms) begin transaction
852
+  (0.1ms) SAVEPOINT active_record_1
853
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
855
+  (0.0ms) SAVEPOINT active_record_1
856
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:13 UTC +00:00]]
857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
858
+ Processing by Koudoku::WebhooksController#create as HTML
859
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
860
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
861
+  (0.5ms) rollback transaction
862
+  (0.1ms) begin transaction
863
+ Processing by Koudoku::WebhooksController#create as HTML
864
+ Parameters: {"api_key"=>"not-the-api-key"}
865
+ Completed 500 Internal Server Error in 0ms
866
+  (0.1ms) rollback transaction
867
+  (0.1ms) begin transaction
868
+ Processing by Koudoku::WebhooksController#create as HTML
869
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
870
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
871
+  (0.1ms) rollback transaction
872
+ Connecting to database specified by database.yml
873
+  (0.4ms) begin transaction
874
+ Processing by Koudoku::WebhooksController#create as HTML
875
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
876
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
877
+ Completed 500 Internal Server Error in 10ms
878
+  (0.1ms) rollback transaction
879
+  (0.1ms) begin transaction
880
+  (0.1ms) SAVEPOINT active_record_1
881
+ SQL (5.9ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
883
+  (0.1ms) SAVEPOINT active_record_1
884
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
886
+ Processing by Koudoku::WebhooksController#create as HTML
887
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
888
+ Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms)
889
+  (0.6ms) rollback transaction
890
+  (0.1ms) begin transaction
891
+  (0.0ms) SAVEPOINT active_record_1
892
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
894
+  (0.0ms) SAVEPOINT active_record_1
895
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
897
+ Processing by Koudoku::WebhooksController#create as HTML
898
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
899
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
900
+  (0.5ms) rollback transaction
901
+  (0.1ms) begin transaction
902
+  (0.0ms) SAVEPOINT active_record_1
903
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
905
+  (0.0ms) SAVEPOINT active_record_1
906
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
908
+ Processing by Koudoku::WebhooksController#create as HTML
909
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
910
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
911
+  (0.4ms) rollback transaction
912
+  (0.1ms) begin transaction
913
+  (0.0ms) SAVEPOINT active_record_1
914
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
916
+  (0.0ms) SAVEPOINT active_record_1
917
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
919
+ Processing by Koudoku::WebhooksController#create as HTML
920
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
921
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
922
+  (0.5ms) rollback transaction
923
+  (0.1ms) begin transaction
924
+  (0.1ms) SAVEPOINT active_record_1
925
+ SQL (0.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
927
+  (0.1ms) SAVEPOINT active_record_1
928
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
930
+ Processing by Koudoku::WebhooksController#create as HTML
931
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
932
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
933
+  (0.5ms) rollback transaction
934
+  (0.1ms) begin transaction
935
+  (0.1ms) SAVEPOINT active_record_1
936
+ SQL (0.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
938
+  (0.0ms) SAVEPOINT active_record_1
939
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 18 Mar 2013 22:04:20 UTC +00:00]]
940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
941
+ Processing by Koudoku::WebhooksController#create as HTML
942
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
943
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
944
+  (0.5ms) rollback transaction
945
+  (0.1ms) begin transaction
946
+ Processing by Koudoku::WebhooksController#create as HTML
947
+ Parameters: {"api_key"=>"not-the-api-key"}
948
+ Completed 500 Internal Server Error in 0ms
949
+  (0.1ms) rollback transaction
950
+  (0.1ms) begin transaction
951
+ Processing by Koudoku::WebhooksController#create as HTML
952
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
953
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
954
+  (0.1ms) rollback transaction
955
+ Connecting to database specified by database.yml
956
+  (0.5ms) begin transaction
957
+ Processing by Koudoku::WebhooksController#create as HTML
958
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
959
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
960
+ Completed 500 Internal Server Error in 9ms
961
+  (0.1ms) rollback transaction
962
+  (0.1ms) begin transaction
963
+  (0.1ms) SAVEPOINT active_record_1
964
+ SQL (41.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
966
+  (0.1ms) SAVEPOINT active_record_1
967
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
969
+ Processing by Koudoku::WebhooksController#create as HTML
970
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
971
+ Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)
972
+  (0.5ms) rollback transaction
973
+  (0.1ms) begin transaction
974
+  (0.1ms) SAVEPOINT active_record_1
975
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
976
+  (0.1ms) RELEASE SAVEPOINT active_record_1
977
+  (0.0ms) SAVEPOINT active_record_1
978
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
980
+ Processing by Koudoku::WebhooksController#create as HTML
981
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
982
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
983
+  (0.4ms) rollback transaction
984
+  (0.1ms) begin transaction
985
+  (0.0ms) SAVEPOINT active_record_1
986
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
988
+  (0.1ms) SAVEPOINT active_record_1
989
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
991
+ Processing by Koudoku::WebhooksController#create as HTML
992
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
993
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
994
+  (0.4ms) rollback transaction
995
+  (0.1ms) begin transaction
996
+  (0.0ms) SAVEPOINT active_record_1
997
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
999
+  (0.0ms) SAVEPOINT active_record_1
1000
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
1001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1002
+ Processing by Koudoku::WebhooksController#create as HTML
1003
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1004
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1005
+  (0.4ms) rollback transaction
1006
+  (0.1ms) begin transaction
1007
+  (0.1ms) SAVEPOINT active_record_1
1008
+ SQL (0.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
1009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1010
+  (0.0ms) SAVEPOINT active_record_1
1011
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
1012
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1013
+ Processing by Koudoku::WebhooksController#create as HTML
1014
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1015
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1016
+  (0.4ms) rollback transaction
1017
+  (0.1ms) begin transaction
1018
+  (0.0ms) SAVEPOINT active_record_1
1019
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
1020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1021
+  (0.0ms) SAVEPOINT active_record_1
1022
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:27:28 UTC +00:00]]
1023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1024
+ Processing by Koudoku::WebhooksController#create as HTML
1025
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1026
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1027
+  (0.6ms) rollback transaction
1028
+  (0.1ms) begin transaction
1029
+ Processing by Koudoku::WebhooksController#create as HTML
1030
+ Parameters: {"api_key"=>"not-the-api-key"}
1031
+ Completed 500 Internal Server Error in 0ms
1032
+  (0.1ms) rollback transaction
1033
+  (0.0ms) begin transaction
1034
+ Processing by Koudoku::WebhooksController#create as HTML
1035
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1036
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1037
+  (0.0ms) rollback transaction
1038
+ Connecting to database specified by database.yml
1039
+  (0.4ms) begin transaction
1040
+  (0.1ms) rollback transaction
1041
+  (0.0ms) begin transaction
1042
+ Processing by Koudoku::WebhooksController#create as HTML
1043
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1044
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1045
+ Completed 500 Internal Server Error in 39ms
1046
+  (0.1ms) rollback transaction
1047
+  (0.0ms) begin transaction
1048
+  (0.0ms) SAVEPOINT active_record_1
1049
+ SQL (4.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1051
+  (0.0ms) SAVEPOINT active_record_1
1052
+ SQL (0.8ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1054
+ Processing by Koudoku::WebhooksController#create as HTML
1055
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1056
+ Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
1057
+  (1.4ms) rollback transaction
1058
+  (0.1ms) begin transaction
1059
+  (0.0ms) SAVEPOINT active_record_1
1060
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1062
+  (0.0ms) SAVEPOINT active_record_1
1063
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1065
+ Processing by Koudoku::WebhooksController#create as HTML
1066
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1067
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1068
+  (0.5ms) rollback transaction
1069
+  (0.1ms) begin transaction
1070
+  (0.0ms) SAVEPOINT active_record_1
1071
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1073
+  (0.0ms) SAVEPOINT active_record_1
1074
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1076
+ Processing by Koudoku::WebhooksController#create as HTML
1077
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1078
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1079
+  (0.5ms) rollback transaction
1080
+  (0.0ms) begin transaction
1081
+  (0.0ms) SAVEPOINT active_record_1
1082
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1084
+  (0.0ms) SAVEPOINT active_record_1
1085
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1087
+ Processing by Koudoku::WebhooksController#create as HTML
1088
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1089
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1090
+  (0.6ms) rollback transaction
1091
+  (0.0ms) begin transaction
1092
+  (0.0ms) SAVEPOINT active_record_1
1093
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1095
+  (0.0ms) SAVEPOINT active_record_1
1096
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1098
+ Processing by Koudoku::WebhooksController#create as HTML
1099
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1100
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1101
+  (0.5ms) rollback transaction
1102
+  (0.1ms) begin transaction
1103
+  (0.1ms) SAVEPOINT active_record_1
1104
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1106
+  (0.0ms) SAVEPOINT active_record_1
1107
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:37:39 UTC +00:00]]
1108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1109
+ Processing by Koudoku::WebhooksController#create as HTML
1110
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1111
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1112
+  (0.6ms) rollback transaction
1113
+  (0.1ms) begin transaction
1114
+ Processing by Koudoku::WebhooksController#create as HTML
1115
+ Parameters: {"api_key"=>"not-the-api-key"}
1116
+ Completed 500 Internal Server Error in 0ms
1117
+  (0.0ms) rollback transaction
1118
+  (0.0ms) begin transaction
1119
+ Processing by Koudoku::WebhooksController#create as HTML
1120
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1121
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1122
+  (0.1ms) rollback transaction
1123
+ Connecting to database specified by database.yml
1124
+  (0.4ms) begin transaction
1125
+ Processing by Koudoku::WebhooksController#create as HTML
1126
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1127
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1128
+ Completed 500 Internal Server Error in 7ms
1129
+  (0.1ms) rollback transaction
1130
+  (0.1ms) begin transaction
1131
+ Processing by Koudoku::WebhooksController#create as HTML
1132
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1133
+ Completed 200 OK in 43ms (Views: 43.0ms | ActiveRecord: 0.0ms)
1134
+  (0.1ms) rollback transaction
1135
+  (0.1ms) begin transaction
1136
+ Processing by Koudoku::WebhooksController#create as HTML
1137
+ Parameters: {"api_key"=>"not-the-api-key"}
1138
+ Completed 500 Internal Server Error in 0ms
1139
+  (0.0ms) rollback transaction
1140
+  (0.0ms) begin transaction
1141
+  (0.0ms) SAVEPOINT active_record_1
1142
+ SQL (5.1ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1144
+  (0.0ms) SAVEPOINT active_record_1
1145
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1147
+ Processing by Koudoku::WebhooksController#create as HTML
1148
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1149
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1150
+  (3.0ms) rollback transaction
1151
+  (0.1ms) begin transaction
1152
+  (0.0ms) SAVEPOINT active_record_1
1153
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1155
+  (0.0ms) SAVEPOINT active_record_1
1156
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1158
+ Processing by Koudoku::WebhooksController#create as HTML
1159
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1160
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1161
+  (0.6ms) rollback transaction
1162
+  (0.1ms) begin transaction
1163
+  (0.0ms) SAVEPOINT active_record_1
1164
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1166
+  (0.0ms) SAVEPOINT active_record_1
1167
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1169
+ Processing by Koudoku::WebhooksController#create as HTML
1170
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1171
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1172
+  (0.5ms) rollback transaction
1173
+  (0.1ms) begin transaction
1174
+  (0.0ms) SAVEPOINT active_record_1
1175
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1177
+  (0.0ms) SAVEPOINT active_record_1
1178
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1180
+ Processing by Koudoku::WebhooksController#create as HTML
1181
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1182
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1183
+  (0.7ms) rollback transaction
1184
+  (0.1ms) begin transaction
1185
+  (0.1ms) SAVEPOINT active_record_1
1186
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1188
+  (0.0ms) SAVEPOINT active_record_1
1189
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1191
+ Processing by Koudoku::WebhooksController#create as HTML
1192
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1193
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1194
+  (0.5ms) rollback transaction
1195
+  (0.1ms) begin transaction
1196
+  (0.0ms) SAVEPOINT active_record_1
1197
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1199
+  (0.0ms) SAVEPOINT active_record_1
1200
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:40:44 UTC +00:00]]
1201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1202
+ Processing by Koudoku::WebhooksController#create as HTML
1203
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1204
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1205
+  (0.5ms) rollback transaction
1206
+  (0.1ms) begin transaction
1207
+  (0.1ms) rollback transaction
1208
+  (0.1ms) begin transaction
1209
+  (0.0ms) rollback transaction
1210
+ Connecting to database specified by database.yml
1211
+  (0.4ms) begin transaction
1212
+  (0.1ms) rollback transaction
1213
+  (0.0ms) begin transaction
1214
+  (0.0ms) rollback transaction
1215
+  (0.0ms) begin transaction
1216
+ Processing by Koudoku::WebhooksController#create as HTML
1217
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1218
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1219
+ Completed 500 Internal Server Error in 37ms
1220
+  (0.1ms) rollback transaction
1221
+  (0.0ms) begin transaction
1222
+  (0.0ms) SAVEPOINT active_record_1
1223
+ SQL (4.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1225
+  (0.0ms) SAVEPOINT active_record_1
1226
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1227
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1228
+ Processing by Koudoku::WebhooksController#create as HTML
1229
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1230
+ Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
1231
+  (2.6ms) rollback transaction
1232
+  (0.1ms) begin transaction
1233
+  (0.1ms) SAVEPOINT active_record_1
1234
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1236
+  (0.2ms) SAVEPOINT active_record_1
1237
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1239
+ Processing by Koudoku::WebhooksController#create as HTML
1240
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1241
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1242
+  (0.5ms) rollback transaction
1243
+  (0.1ms) begin transaction
1244
+  (0.0ms) SAVEPOINT active_record_1
1245
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1247
+  (0.0ms) SAVEPOINT active_record_1
1248
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1250
+ Processing by Koudoku::WebhooksController#create as HTML
1251
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1252
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1253
+  (0.5ms) rollback transaction
1254
+  (0.0ms) begin transaction
1255
+  (0.0ms) SAVEPOINT active_record_1
1256
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1258
+  (0.0ms) SAVEPOINT active_record_1
1259
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1261
+ Processing by Koudoku::WebhooksController#create as HTML
1262
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1263
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1264
+  (0.5ms) rollback transaction
1265
+  (0.0ms) begin transaction
1266
+  (0.0ms) SAVEPOINT active_record_1
1267
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1269
+  (0.0ms) SAVEPOINT active_record_1
1270
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1272
+ Processing by Koudoku::WebhooksController#create as HTML
1273
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1274
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1275
+  (0.5ms) rollback transaction
1276
+  (0.0ms) begin transaction
1277
+  (0.0ms) SAVEPOINT active_record_1
1278
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1279
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1280
+  (0.0ms) SAVEPOINT active_record_1
1281
+ SQL (0.9ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:41:20 UTC +00:00]]
1282
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1283
+ Processing by Koudoku::WebhooksController#create as HTML
1284
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1285
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1286
+  (0.5ms) rollback transaction
1287
+  (0.1ms) begin transaction
1288
+ Processing by Koudoku::WebhooksController#create as HTML
1289
+ Parameters: {"api_key"=>"not-the-api-key"}
1290
+ Completed 500 Internal Server Error in 0ms
1291
+  (0.1ms) rollback transaction
1292
+  (0.1ms) begin transaction
1293
+ Processing by Koudoku::WebhooksController#create as HTML
1294
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1295
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1296
+  (0.1ms) rollback transaction
1297
+ Connecting to database specified by database.yml
1298
+  (0.4ms) begin transaction
1299
+  (0.1ms) rollback transaction
1300
+  (0.0ms) begin transaction
1301
+  (0.0ms) rollback transaction
1302
+  (0.0ms) begin transaction
1303
+ Processing by Koudoku::WebhooksController#create as HTML
1304
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1305
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1306
+ Completed 500 Internal Server Error in 37ms
1307
+  (0.1ms) rollback transaction
1308
+  (0.0ms) begin transaction
1309
+ Processing by Koudoku::WebhooksController#create as HTML
1310
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1311
+ Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
1312
+  (0.1ms) rollback transaction
1313
+  (0.0ms) begin transaction
1314
+ Processing by Koudoku::WebhooksController#create as HTML
1315
+ Parameters: {"api_key"=>"not-the-api-key"}
1316
+ Completed 500 Internal Server Error in 0ms
1317
+  (0.0ms) rollback transaction
1318
+  (0.0ms) begin transaction
1319
+  (0.1ms) SAVEPOINT active_record_1
1320
+ SQL (5.0ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1322
+  (0.1ms) SAVEPOINT active_record_1
1323
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1325
+ Processing by Koudoku::WebhooksController#create as HTML
1326
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1327
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1328
+  (2.7ms) rollback transaction
1329
+  (0.1ms) begin transaction
1330
+  (0.1ms) SAVEPOINT active_record_1
1331
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1333
+  (0.0ms) SAVEPOINT active_record_1
1334
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1335
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1336
+ Processing by Koudoku::WebhooksController#create as HTML
1337
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1338
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1339
+  (0.5ms) rollback transaction
1340
+  (0.0ms) begin transaction
1341
+  (0.0ms) SAVEPOINT active_record_1
1342
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1344
+  (0.0ms) SAVEPOINT active_record_1
1345
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1347
+ Processing by Koudoku::WebhooksController#create as HTML
1348
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1349
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1350
+  (0.6ms) rollback transaction
1351
+  (0.0ms) begin transaction
1352
+  (0.0ms) SAVEPOINT active_record_1
1353
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1355
+  (0.0ms) SAVEPOINT active_record_1
1356
+ SQL (0.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1358
+ Processing by Koudoku::WebhooksController#create as HTML
1359
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1360
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1361
+  (0.6ms) rollback transaction
1362
+  (0.0ms) begin transaction
1363
+  (0.0ms) SAVEPOINT active_record_1
1364
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1366
+  (0.0ms) SAVEPOINT active_record_1
1367
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1369
+ Processing by Koudoku::WebhooksController#create as HTML
1370
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1371
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1372
+  (0.5ms) rollback transaction
1373
+  (0.1ms) begin transaction
1374
+  (0.1ms) SAVEPOINT active_record_1
1375
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1377
+  (0.0ms) SAVEPOINT active_record_1
1378
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:42:10 UTC +00:00]]
1379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1380
+ Processing by Koudoku::WebhooksController#create as HTML
1381
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1382
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1383
+  (0.6ms) rollback transaction
1384
+ Connecting to database specified by database.yml
1385
+  (0.4ms) begin transaction
1386
+ Processing by Koudoku::WebhooksController#create as HTML
1387
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1388
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1389
+ Completed 500 Internal Server Error in 7ms
1390
+  (0.1ms) rollback transaction
1391
+  (0.1ms) begin transaction
1392
+  (0.1ms) SAVEPOINT active_record_1
1393
+ SQL (6.3ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1395
+  (0.1ms) SAVEPOINT active_record_1
1396
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1398
+ Processing by Koudoku::WebhooksController#create as HTML
1399
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1400
+ Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
1401
+  (2.7ms) rollback transaction
1402
+  (0.1ms) begin transaction
1403
+  (0.0ms) SAVEPOINT active_record_1
1404
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1406
+  (0.0ms) SAVEPOINT active_record_1
1407
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1409
+ Processing by Koudoku::WebhooksController#create as HTML
1410
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1411
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1412
+  (0.5ms) rollback transaction
1413
+  (0.1ms) begin transaction
1414
+  (0.0ms) SAVEPOINT active_record_1
1415
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1417
+  (0.0ms) SAVEPOINT active_record_1
1418
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1420
+ Processing by Koudoku::WebhooksController#create as HTML
1421
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1422
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1423
+  (0.5ms) rollback transaction
1424
+  (0.0ms) begin transaction
1425
+  (0.0ms) SAVEPOINT active_record_1
1426
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1428
+  (0.0ms) SAVEPOINT active_record_1
1429
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1431
+ Processing by Koudoku::WebhooksController#create as HTML
1432
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1433
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1434
+  (0.5ms) rollback transaction
1435
+  (0.0ms) begin transaction
1436
+  (0.0ms) SAVEPOINT active_record_1
1437
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1439
+  (0.0ms) SAVEPOINT active_record_1
1440
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1442
+ Processing by Koudoku::WebhooksController#create as HTML
1443
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1444
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1445
+  (0.6ms) rollback transaction
1446
+  (0.1ms) begin transaction
1447
+  (0.0ms) SAVEPOINT active_record_1
1448
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1450
+  (0.0ms) SAVEPOINT active_record_1
1451
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 13:47:11 UTC +00:00]]
1452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1453
+ Processing by Koudoku::WebhooksController#create as HTML
1454
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1455
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1456
+  (0.5ms) rollback transaction
1457
+  (0.1ms) begin transaction
1458
+ Processing by Koudoku::WebhooksController#create as HTML
1459
+ Parameters: {"api_key"=>"not-the-api-key"}
1460
+ Completed 500 Internal Server Error in 0ms
1461
+  (0.1ms) rollback transaction
1462
+  (0.1ms) begin transaction
1463
+ Processing by Koudoku::WebhooksController#create as HTML
1464
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1465
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1466
+  (0.1ms) rollback transaction
1467
+  (0.0ms) begin transaction
1468
+  (0.1ms) rollback transaction
1469
+  (0.0ms) begin transaction
1470
+  (0.0ms) rollback transaction
1471
+  (0.0ms) begin transaction
1472
+  (0.0ms) rollback transaction
1473
+  (0.0ms) begin transaction
1474
+  (0.0ms) rollback transaction
1475
+ Connecting to database specified by database.yml
1476
+  (0.4ms) begin transaction
1477
+  (0.1ms) rollback transaction
1478
+  (0.0ms) begin transaction
1479
+  (0.0ms) rollback transaction
1480
+  (0.0ms) begin transaction
1481
+  (0.0ms) rollback transaction
1482
+  (0.0ms) begin transaction
1483
+  (0.0ms) rollback transaction
1484
+  (0.0ms) begin transaction
1485
+ Processing by Koudoku::WebhooksController#create as HTML
1486
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1487
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1488
+ Completed 500 Internal Server Error in 5ms
1489
+  (0.1ms) rollback transaction
1490
+  (0.0ms) begin transaction
1491
+ Processing by Koudoku::WebhooksController#create as HTML
1492
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1493
+ Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
1494
+  (0.1ms) rollback transaction
1495
+  (0.0ms) begin transaction
1496
+ Processing by Koudoku::WebhooksController#create as HTML
1497
+ Parameters: {"api_key"=>"not-the-api-key"}
1498
+ Completed 500 Internal Server Error in 0ms
1499
+  (0.0ms) rollback transaction
1500
+  (0.0ms) begin transaction
1501
+  (0.0ms) SAVEPOINT active_record_1
1502
+ SQL (5.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1504
+  (0.1ms) SAVEPOINT active_record_1
1505
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1507
+ Processing by Koudoku::WebhooksController#create as HTML
1508
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1509
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1510
+  (0.5ms) rollback transaction
1511
+  (0.0ms) begin transaction
1512
+  (0.0ms) SAVEPOINT active_record_1
1513
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1515
+  (0.0ms) SAVEPOINT active_record_1
1516
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1518
+ Processing by Koudoku::WebhooksController#create as HTML
1519
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1520
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1521
+  (0.6ms) rollback transaction
1522
+  (0.1ms) begin transaction
1523
+  (0.0ms) SAVEPOINT active_record_1
1524
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1526
+  (0.0ms) SAVEPOINT active_record_1
1527
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1529
+ Processing by Koudoku::WebhooksController#create as HTML
1530
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1531
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1532
+  (0.5ms) rollback transaction
1533
+  (0.1ms) begin transaction
1534
+  (0.0ms) SAVEPOINT active_record_1
1535
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1537
+  (0.0ms) SAVEPOINT active_record_1
1538
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1540
+ Processing by Koudoku::WebhooksController#create as HTML
1541
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1542
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1543
+  (0.5ms) rollback transaction
1544
+  (0.0ms) begin transaction
1545
+  (0.0ms) SAVEPOINT active_record_1
1546
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1548
+  (0.0ms) SAVEPOINT active_record_1
1549
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1551
+ Processing by Koudoku::WebhooksController#create as HTML
1552
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1553
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1554
+  (0.5ms) rollback transaction
1555
+  (0.1ms) begin transaction
1556
+  (0.1ms) SAVEPOINT active_record_1
1557
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1559
+  (0.0ms) SAVEPOINT active_record_1
1560
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:58:42 UTC +00:00]]
1561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1562
+ Processing by Koudoku::WebhooksController#create as HTML
1563
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1564
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1565
+  (0.5ms) rollback transaction
1566
+ Connecting to database specified by database.yml
1567
+  (0.4ms) begin transaction
1568
+  (0.1ms) rollback transaction
1569
+  (0.0ms) begin transaction
1570
+  (0.0ms) rollback transaction
1571
+  (0.1ms) begin transaction
1572
+  (0.0ms) rollback transaction
1573
+  (0.0ms) begin transaction
1574
+  (0.0ms) rollback transaction
1575
+  (0.0ms) begin transaction
1576
+  (0.0ms) rollback transaction
1577
+  (0.1ms) begin transaction
1578
+ Processing by Koudoku::WebhooksController#create as HTML
1579
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1580
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1581
+ Completed 500 Internal Server Error in 5ms
1582
+  (0.1ms) rollback transaction
1583
+  (0.0ms) begin transaction
1584
+  (0.0ms) SAVEPOINT active_record_1
1585
+ SQL (4.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1587
+  (0.0ms) SAVEPOINT active_record_1
1588
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1590
+ Processing by Koudoku::WebhooksController#create as HTML
1591
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1592
+ Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
1593
+  (2.5ms) rollback transaction
1594
+  (0.1ms) begin transaction
1595
+  (0.1ms) SAVEPOINT active_record_1
1596
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1598
+  (0.0ms) SAVEPOINT active_record_1
1599
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1601
+ Processing by Koudoku::WebhooksController#create as HTML
1602
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1603
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1604
+  (0.5ms) rollback transaction
1605
+  (0.1ms) begin transaction
1606
+  (0.0ms) SAVEPOINT active_record_1
1607
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1609
+  (0.1ms) SAVEPOINT active_record_1
1610
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1612
+ Processing by Koudoku::WebhooksController#create as HTML
1613
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1614
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1615
+  (0.5ms) rollback transaction
1616
+  (0.0ms) begin transaction
1617
+  (0.0ms) SAVEPOINT active_record_1
1618
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1620
+  (0.0ms) SAVEPOINT active_record_1
1621
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1623
+ Processing by Koudoku::WebhooksController#create as HTML
1624
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1625
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1626
+  (0.5ms) rollback transaction
1627
+  (0.0ms) begin transaction
1628
+  (0.0ms) SAVEPOINT active_record_1
1629
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1631
+  (0.0ms) SAVEPOINT active_record_1
1632
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1634
+ Processing by Koudoku::WebhooksController#create as HTML
1635
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1636
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1637
+  (0.5ms) rollback transaction
1638
+  (0.0ms) begin transaction
1639
+  (0.0ms) SAVEPOINT active_record_1
1640
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1642
+  (0.0ms) SAVEPOINT active_record_1
1643
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 14:59:08 UTC +00:00]]
1644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1645
+ Processing by Koudoku::WebhooksController#create as HTML
1646
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1647
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1648
+  (0.5ms) rollback transaction
1649
+  (0.1ms) begin transaction
1650
+ Processing by Koudoku::WebhooksController#create as HTML
1651
+ Parameters: {"api_key"=>"not-the-api-key"}
1652
+ Completed 500 Internal Server Error in 0ms
1653
+  (0.1ms) rollback transaction
1654
+  (0.0ms) begin transaction
1655
+ Processing by Koudoku::WebhooksController#create as HTML
1656
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1657
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1658
+  (0.1ms) rollback transaction
1659
+ Connecting to database specified by database.yml
1660
+  (0.4ms) begin transaction
1661
+ Processing by Koudoku::WebhooksController#create as HTML
1662
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1663
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1664
+ Completed 500 Internal Server Error in 43ms
1665
+  (0.1ms) rollback transaction
1666
+  (0.1ms) begin transaction
1667
+ Processing by Koudoku::WebhooksController#create as HTML
1668
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1669
+ Completed 200 OK in 12ms (Views: 12.0ms | ActiveRecord: 0.0ms)
1670
+  (0.1ms) rollback transaction
1671
+  (0.0ms) begin transaction
1672
+ Processing by Koudoku::WebhooksController#create as HTML
1673
+ Parameters: {"api_key"=>"not-the-api-key"}
1674
+ Completed 500 Internal Server Error in 0ms
1675
+  (0.1ms) rollback transaction
1676
+  (0.0ms) begin transaction
1677
+  (0.0ms) SAVEPOINT active_record_1
1678
+ SQL (4.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1680
+  (0.1ms) SAVEPOINT active_record_1
1681
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1682
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1683
+ Processing by Koudoku::WebhooksController#create as HTML
1684
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1685
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1686
+  (1.6ms) rollback transaction
1687
+  (0.1ms) begin transaction
1688
+  (0.0ms) SAVEPOINT active_record_1
1689
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1691
+  (0.0ms) SAVEPOINT active_record_1
1692
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1694
+ Processing by Koudoku::WebhooksController#create as HTML
1695
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1696
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1697
+  (0.5ms) rollback transaction
1698
+  (0.1ms) begin transaction
1699
+  (0.0ms) SAVEPOINT active_record_1
1700
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1702
+  (0.0ms) SAVEPOINT active_record_1
1703
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1705
+ Processing by Koudoku::WebhooksController#create as HTML
1706
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1707
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1708
+  (0.6ms) rollback transaction
1709
+  (0.0ms) begin transaction
1710
+  (0.0ms) SAVEPOINT active_record_1
1711
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1713
+  (0.0ms) SAVEPOINT active_record_1
1714
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1716
+ Processing by Koudoku::WebhooksController#create as HTML
1717
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1718
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1719
+  (0.5ms) rollback transaction
1720
+  (0.1ms) begin transaction
1721
+  (0.1ms) SAVEPOINT active_record_1
1722
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1724
+  (0.0ms) SAVEPOINT active_record_1
1725
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1727
+ Processing by Koudoku::WebhooksController#create as HTML
1728
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1729
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1730
+  (0.5ms) rollback transaction
1731
+  (0.1ms) begin transaction
1732
+  (0.1ms) SAVEPOINT active_record_1
1733
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1735
+  (0.0ms) SAVEPOINT active_record_1
1736
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:15:28 UTC +00:00]]
1737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1738
+ Processing by Koudoku::WebhooksController#create as HTML
1739
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1740
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1741
+  (0.5ms) rollback transaction
1742
+  (0.1ms) begin transaction
1743
+  (0.0ms) rollback transaction
1744
+  (0.0ms) begin transaction
1745
+  (0.0ms) rollback transaction
1746
+  (0.1ms) begin transaction
1747
+  (0.0ms) rollback transaction
1748
+  (0.0ms) begin transaction
1749
+  (0.0ms) rollback transaction
1750
+ Connecting to database specified by database.yml
1751
+  (0.4ms) begin transaction
1752
+  (0.1ms) rollback transaction
1753
+  (0.0ms) begin transaction
1754
+  (0.0ms) rollback transaction
1755
+  (0.0ms) begin transaction
1756
+  (0.0ms) rollback transaction
1757
+  (0.0ms) begin transaction
1758
+  (0.0ms) rollback transaction
1759
+  (0.0ms) begin transaction
1760
+ Processing by Koudoku::WebhooksController#create as HTML
1761
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1762
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1763
+ Completed 500 Internal Server Error in 5ms
1764
+  (0.1ms) rollback transaction
1765
+  (0.0ms) begin transaction
1766
+  (0.0ms) SAVEPOINT active_record_1
1767
+ SQL (4.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1769
+  (0.0ms) SAVEPOINT active_record_1
1770
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1772
+ Processing by Koudoku::WebhooksController#create as HTML
1773
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1774
+ Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
1775
+  (1.5ms) rollback transaction
1776
+  (0.1ms) begin transaction
1777
+  (0.1ms) SAVEPOINT active_record_1
1778
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1780
+  (0.0ms) SAVEPOINT active_record_1
1781
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1782
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1783
+ Processing by Koudoku::WebhooksController#create as HTML
1784
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1785
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1786
+  (0.5ms) rollback transaction
1787
+  (0.1ms) begin transaction
1788
+  (0.0ms) SAVEPOINT active_record_1
1789
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1791
+  (0.0ms) SAVEPOINT active_record_1
1792
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1794
+ Processing by Koudoku::WebhooksController#create as HTML
1795
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1796
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1797
+  (0.5ms) rollback transaction
1798
+  (0.1ms) begin transaction
1799
+  (0.0ms) SAVEPOINT active_record_1
1800
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1802
+  (0.0ms) SAVEPOINT active_record_1
1803
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1805
+ Processing by Koudoku::WebhooksController#create as HTML
1806
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1807
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1808
+  (0.6ms) rollback transaction
1809
+  (0.0ms) begin transaction
1810
+  (0.0ms) SAVEPOINT active_record_1
1811
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1813
+  (0.0ms) SAVEPOINT active_record_1
1814
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1816
+ Processing by Koudoku::WebhooksController#create as HTML
1817
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1818
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1819
+  (0.6ms) rollback transaction
1820
+  (0.1ms) begin transaction
1821
+  (0.0ms) SAVEPOINT active_record_1
1822
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1824
+  (0.0ms) SAVEPOINT active_record_1
1825
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Sun, 14 Apr 2013 15:21:04 UTC +00:00]]
1826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1827
+ Processing by Koudoku::WebhooksController#create as HTML
1828
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1829
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1830
+  (0.5ms) rollback transaction
1831
+  (0.1ms) begin transaction
1832
+ Processing by Koudoku::WebhooksController#create as HTML
1833
+ Parameters: {"api_key"=>"not-the-api-key"}
1834
+ Completed 500 Internal Server Error in 0ms
1835
+  (0.1ms) rollback transaction
1836
+  (0.0ms) begin transaction
1837
+ Processing by Koudoku::WebhooksController#create as HTML
1838
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1839
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1840
+  (0.1ms) rollback transaction
1841
+ Connecting to database specified by database.yml
1842
+ Connecting to database specified by database.yml
1843
+  (0.6ms) begin transaction
1844
+  (0.1ms) rollback transaction
1845
+  (0.1ms) begin transaction
1846
+  (0.0ms) rollback transaction
1847
+  (0.0ms) begin transaction
1848
+  (0.0ms) rollback transaction
1849
+  (0.0ms) begin transaction
1850
+  (0.1ms) rollback transaction
1851
+  (0.1ms) begin transaction
1852
+ Processing by Koudoku::WebhooksController#create as HTML
1853
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1854
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1855
+ Completed 500 Internal Server Error in 8ms
1856
+  (0.1ms) rollback transaction
1857
+  (0.0ms) begin transaction
1858
+  (0.1ms) SAVEPOINT active_record_1
1859
+ SQL (8.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1860
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1861
+  (0.1ms) SAVEPOINT active_record_1
1862
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1864
+ Processing by Koudoku::WebhooksController#create as HTML
1865
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1866
+ Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)
1867
+  (0.9ms) rollback transaction
1868
+  (0.3ms) begin transaction
1869
+  (0.1ms) SAVEPOINT active_record_1
1870
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1871
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1872
+  (0.1ms) SAVEPOINT active_record_1
1873
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1875
+ Processing by Koudoku::WebhooksController#create as HTML
1876
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1877
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1878
+  (0.7ms) rollback transaction
1879
+  (0.1ms) begin transaction
1880
+  (0.0ms) SAVEPOINT active_record_1
1881
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1883
+  (0.0ms) SAVEPOINT active_record_1
1884
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1886
+ Processing by Koudoku::WebhooksController#create as HTML
1887
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1888
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1889
+  (0.5ms) rollback transaction
1890
+  (0.1ms) begin transaction
1891
+  (0.0ms) SAVEPOINT active_record_1
1892
+ SQL (0.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1894
+  (0.0ms) SAVEPOINT active_record_1
1895
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1897
+ Processing by Koudoku::WebhooksController#create as HTML
1898
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1899
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1900
+  (0.5ms) rollback transaction
1901
+  (0.1ms) begin transaction
1902
+  (0.2ms) SAVEPOINT active_record_1
1903
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1904
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1905
+  (0.1ms) SAVEPOINT active_record_1
1906
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1908
+ Processing by Koudoku::WebhooksController#create as HTML
1909
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1910
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1911
+  (0.6ms) rollback transaction
1912
+  (0.1ms) begin transaction
1913
+  (0.0ms) SAVEPOINT active_record_1
1914
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1916
+  (0.0ms) SAVEPOINT active_record_1
1917
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:37:50 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:37:50 UTC +00:00]]
1918
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1919
+ Processing by Koudoku::WebhooksController#create as HTML
1920
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1921
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1922
+  (0.6ms) rollback transaction
1923
+  (0.1ms) begin transaction
1924
+ Processing by Koudoku::WebhooksController#create as HTML
1925
+ Parameters: {"api_key"=>"not-the-api-key"}
1926
+ Completed 500 Internal Server Error in 0ms
1927
+  (0.1ms) rollback transaction
1928
+  (0.0ms) begin transaction
1929
+ Processing by Koudoku::WebhooksController#create as HTML
1930
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1931
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1932
+  (0.1ms) rollback transaction
1933
+  (0.1ms) begin transaction
1934
+  (0.1ms) rollback transaction
1935
+ Connecting to database specified by database.yml
1936
+  (1.6ms) begin transaction
1937
+  (0.3ms) rollback transaction
1938
+  (0.3ms) begin transaction
1939
+  (0.2ms) rollback transaction
1940
+  (0.2ms) begin transaction
1941
+  (0.1ms) rollback transaction
1942
+  (0.2ms) begin transaction
1943
+  (0.1ms) rollback transaction
1944
+  (0.1ms) begin transaction
1945
+ Processing by Koudoku::WebhooksController#create as HTML
1946
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1947
+ Subscription Load (0.5ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
1948
+ Completed 500 Internal Server Error in 25ms
1949
+  (0.3ms) rollback transaction
1950
+  (0.2ms) begin transaction
1951
+ Processing by Koudoku::WebhooksController#create as HTML
1952
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1953
+ Completed 200 OK in 161ms (Views: 159.7ms | ActiveRecord: 0.0ms)
1954
+  (0.2ms) rollback transaction
1955
+  (0.2ms) begin transaction
1956
+ Processing by Koudoku::WebhooksController#create as HTML
1957
+ Parameters: {"api_key"=>"not-the-api-key"}
1958
+ Completed 500 Internal Server Error in 1ms
1959
+  (0.2ms) rollback transaction
1960
+  (0.2ms) begin transaction
1961
+  (0.2ms) SAVEPOINT active_record_1
1962
+ SQL (26.3ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1963
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1964
+  (0.2ms) SAVEPOINT active_record_1
1965
+ SQL (2.2ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1966
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1967
+ Processing by Koudoku::WebhooksController#create as HTML
1968
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1969
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1970
+  (0.9ms) rollback transaction
1971
+  (0.2ms) begin transaction
1972
+  (0.2ms) SAVEPOINT active_record_1
1973
+ SQL (1.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1975
+  (0.1ms) SAVEPOINT active_record_1
1976
+ SQL (2.1ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1977
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1978
+ Processing by Koudoku::WebhooksController#create as HTML
1979
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1980
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1981
+  (1.2ms) rollback transaction
1982
+  (0.2ms) begin transaction
1983
+  (1.3ms) SAVEPOINT active_record_1
1984
+ SQL (2.2ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1985
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1986
+  (0.2ms) SAVEPOINT active_record_1
1987
+ SQL (1.8ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1988
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1989
+ Processing by Koudoku::WebhooksController#create as HTML
1990
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
1991
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1992
+  (1.5ms) rollback transaction
1993
+  (2.1ms) begin transaction
1994
+  (0.3ms) SAVEPOINT active_record_1
1995
+ SQL (2.0ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1996
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1997
+  (0.1ms) SAVEPOINT active_record_1
1998
+ SQL (3.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
1999
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2000
+ Processing by Koudoku::WebhooksController#create as HTML
2001
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2002
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2003
+  (2.2ms) rollback transaction
2004
+  (0.3ms) begin transaction
2005
+  (0.2ms) SAVEPOINT active_record_1
2006
+ SQL (4.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
2007
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2008
+  (0.2ms) SAVEPOINT active_record_1
2009
+ SQL (1.9ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
2010
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2011
+ Processing by Koudoku::WebhooksController#create as HTML
2012
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2013
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2014
+  (3.2ms) rollback transaction
2015
+  (0.2ms) begin transaction
2016
+  (0.2ms) SAVEPOINT active_record_1
2017
+ SQL (1.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
2018
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2019
+  (0.1ms) SAVEPOINT active_record_1
2020
+ SQL (1.9ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:38:45 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:38:45 UTC +00:00]]
2021
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2022
+ Processing by Koudoku::WebhooksController#create as HTML
2023
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2024
+ Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2025
+  (1.0ms) rollback transaction
2026
+  (0.3ms) begin transaction
2027
+  (0.2ms) rollback transaction
2028
+ Connecting to database specified by database.yml
2029
+  (1.2ms) begin transaction
2030
+  (0.2ms) rollback transaction
2031
+  (0.1ms) begin transaction
2032
+  (0.2ms) rollback transaction
2033
+  (0.3ms) begin transaction
2034
+  (0.2ms) rollback transaction
2035
+  (0.2ms) begin transaction
2036
+  (0.1ms) rollback transaction
2037
+  (0.1ms) begin transaction
2038
+ Processing by Koudoku::WebhooksController#create as HTML
2039
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2040
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
2041
+ Completed 500 Internal Server Error in 27ms
2042
+  (0.2ms) rollback transaction
2043
+  (0.2ms) begin transaction
2044
+  (0.2ms) SAVEPOINT active_record_1
2045
+ SQL (21.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2047
+  (0.2ms) SAVEPOINT active_record_1
2048
+ SQL (1.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2050
+ Processing by Koudoku::WebhooksController#create as HTML
2051
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2052
+ Completed 200 OK in 39ms (Views: 37.7ms | ActiveRecord: 0.0ms)
2053
+  (0.9ms) rollback transaction
2054
+  (0.1ms) begin transaction
2055
+  (0.1ms) SAVEPOINT active_record_1
2056
+ SQL (1.2ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2057
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2058
+  (0.2ms) SAVEPOINT active_record_1
2059
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2060
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2061
+ Processing by Koudoku::WebhooksController#create as HTML
2062
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2063
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2064
+  (0.9ms) rollback transaction
2065
+  (0.3ms) begin transaction
2066
+  (0.1ms) SAVEPOINT active_record_1
2067
+ SQL (2.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2068
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2069
+  (0.1ms) SAVEPOINT active_record_1
2070
+ SQL (2.1ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2071
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2072
+ Processing by Koudoku::WebhooksController#create as HTML
2073
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2074
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2075
+  (1.3ms) rollback transaction
2076
+  (0.1ms) begin transaction
2077
+  (0.1ms) SAVEPOINT active_record_1
2078
+ SQL (2.0ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2079
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2080
+  (0.1ms) SAVEPOINT active_record_1
2081
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2083
+ Processing by Koudoku::WebhooksController#create as HTML
2084
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2085
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2086
+  (1.0ms) rollback transaction
2087
+  (0.1ms) begin transaction
2088
+  (0.1ms) SAVEPOINT active_record_1
2089
+ SQL (2.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2090
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2091
+  (0.1ms) SAVEPOINT active_record_1
2092
+ SQL (1.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2093
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2094
+ Processing by Koudoku::WebhooksController#create as HTML
2095
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2096
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2097
+  (1.1ms) rollback transaction
2098
+  (0.2ms) begin transaction
2099
+  (0.2ms) SAVEPOINT active_record_1
2100
+ SQL (1.1ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2101
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2102
+  (0.1ms) SAVEPOINT active_record_1
2103
+ SQL (2.0ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:41:15 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:41:15 UTC +00:00]]
2104
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2105
+ Processing by Koudoku::WebhooksController#create as HTML
2106
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2107
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2108
+  (1.0ms) rollback transaction
2109
+  (0.2ms) begin transaction
2110
+ Processing by Koudoku::WebhooksController#create as HTML
2111
+ Parameters: {"api_key"=>"not-the-api-key"}
2112
+ Completed 500 Internal Server Error in 1ms
2113
+  (0.3ms) rollback transaction
2114
+  (0.2ms) begin transaction
2115
+ Processing by Koudoku::WebhooksController#create as HTML
2116
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2117
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2118
+  (0.2ms) rollback transaction
2119
+  (0.2ms) begin transaction
2120
+  (0.2ms) rollback transaction
2121
+ Connecting to database specified by database.yml
2122
+  (1.2ms) begin transaction
2123
+  (0.2ms) rollback transaction
2124
+  (0.2ms) begin transaction
2125
+ Processing by Koudoku::WebhooksController#create as HTML
2126
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2127
+ Subscription Load (1.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
2128
+ Completed 500 Internal Server Error in 21ms
2129
+  (0.3ms) rollback transaction
2130
+  (0.2ms) begin transaction
2131
+  (0.1ms) SAVEPOINT active_record_1
2132
+ SQL (102.3ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2133
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2134
+  (0.2ms) SAVEPOINT active_record_1
2135
+ SQL (1.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2137
+ Processing by Koudoku::WebhooksController#create as HTML
2138
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2139
+ Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms)
2140
+  (2.1ms) rollback transaction
2141
+  (0.2ms) begin transaction
2142
+  (0.1ms) SAVEPOINT active_record_1
2143
+ SQL (1.9ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2144
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2145
+  (0.1ms) SAVEPOINT active_record_1
2146
+ SQL (2.0ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2147
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2148
+ Processing by Koudoku::WebhooksController#create as HTML
2149
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2150
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2151
+  (1.8ms) rollback transaction
2152
+  (0.2ms) begin transaction
2153
+  (0.2ms) SAVEPOINT active_record_1
2154
+ SQL (1.9ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2155
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2156
+  (0.2ms) SAVEPOINT active_record_1
2157
+ SQL (2.1ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2158
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2159
+ Processing by Koudoku::WebhooksController#create as HTML
2160
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2161
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2162
+  (1.4ms) rollback transaction
2163
+  (0.1ms) begin transaction
2164
+  (0.3ms) SAVEPOINT active_record_1
2165
+ SQL (1.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2166
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2167
+  (0.1ms) SAVEPOINT active_record_1
2168
+ SQL (4.1ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2169
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2170
+ Processing by Koudoku::WebhooksController#create as HTML
2171
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2172
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2173
+  (2.7ms) rollback transaction
2174
+  (0.2ms) begin transaction
2175
+  (0.2ms) SAVEPOINT active_record_1
2176
+ SQL (1.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2177
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2178
+  (0.1ms) SAVEPOINT active_record_1
2179
+ SQL (2.0ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2180
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2181
+ Processing by Koudoku::WebhooksController#create as HTML
2182
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2183
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2184
+  (1.3ms) rollback transaction
2185
+  (0.2ms) begin transaction
2186
+  (0.2ms) SAVEPOINT active_record_1
2187
+ SQL (1.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2188
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2189
+  (0.2ms) SAVEPOINT active_record_1
2190
+ SQL (1.8ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:42:19 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:42:19 UTC +00:00]]
2191
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2192
+ Processing by Koudoku::WebhooksController#create as HTML
2193
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2194
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2195
+  (1.2ms) rollback transaction
2196
+  (0.2ms) begin transaction
2197
+ Processing by Koudoku::WebhooksController#create as HTML
2198
+ Parameters: {"api_key"=>"not-the-api-key"}
2199
+ Completed 500 Internal Server Error in 1ms
2200
+  (0.2ms) rollback transaction
2201
+  (0.1ms) begin transaction
2202
+ Processing by Koudoku::WebhooksController#create as HTML
2203
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2204
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2205
+  (0.2ms) rollback transaction
2206
+  (0.1ms) begin transaction
2207
+  (0.1ms) rollback transaction
2208
+  (0.1ms) begin transaction
2209
+  (0.1ms) rollback transaction
2210
+  (0.2ms) begin transaction
2211
+  (0.1ms) rollback transaction
2212
+  (0.1ms) begin transaction
2213
+  (0.1ms) rollback transaction
2214
+ Connecting to database specified by database.yml
2215
+  (1.2ms) begin transaction
2216
+ Processing by Koudoku::WebhooksController#create as HTML
2217
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2218
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
2219
+ Completed 500 Internal Server Error in 27ms
2220
+  (0.2ms) rollback transaction
2221
+  (0.1ms) begin transaction
2222
+ Processing by Koudoku::WebhooksController#create as HTML
2223
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2224
+ Completed 200 OK in 120ms (Views: 118.9ms | ActiveRecord: 0.0ms)
2225
+  (0.2ms) rollback transaction
2226
+  (0.1ms) begin transaction
2227
+ Processing by Koudoku::WebhooksController#create as HTML
2228
+ Parameters: {"api_key"=>"not-the-api-key"}
2229
+ Completed 500 Internal Server Error in 1ms
2230
+  (0.1ms) rollback transaction
2231
+  (0.2ms) begin transaction
2232
+  (0.2ms) SAVEPOINT active_record_1
2233
+ SQL (14.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2234
+  (0.7ms) RELEASE SAVEPOINT active_record_1
2235
+  (0.2ms) SAVEPOINT active_record_1
2236
+ SQL (1.8ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2238
+ Processing by Koudoku::WebhooksController#create as HTML
2239
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2240
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2241
+  (2.0ms) rollback transaction
2242
+  (0.2ms) begin transaction
2243
+  (0.1ms) SAVEPOINT active_record_1
2244
+ SQL (1.2ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2246
+  (0.2ms) SAVEPOINT active_record_1
2247
+ SQL (1.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2249
+ Processing by Koudoku::WebhooksController#create as HTML
2250
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2251
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2252
+  (1.1ms) rollback transaction
2253
+  (0.1ms) begin transaction
2254
+  (0.1ms) SAVEPOINT active_record_1
2255
+ SQL (1.3ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2256
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2257
+  (0.1ms) SAVEPOINT active_record_1
2258
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2259
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2260
+ Processing by Koudoku::WebhooksController#create as HTML
2261
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2262
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2263
+  (1.4ms) rollback transaction
2264
+  (0.2ms) begin transaction
2265
+  (0.2ms) SAVEPOINT active_record_1
2266
+ SQL (2.1ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2267
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2268
+  (0.1ms) SAVEPOINT active_record_1
2269
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2270
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2271
+ Processing by Koudoku::WebhooksController#create as HTML
2272
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2273
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2274
+  (0.9ms) rollback transaction
2275
+  (0.2ms) begin transaction
2276
+  (0.2ms) SAVEPOINT active_record_1
2277
+ SQL (1.1ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2279
+  (0.1ms) SAVEPOINT active_record_1
2280
+ SQL (2.2ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2281
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2282
+ Processing by Koudoku::WebhooksController#create as HTML
2283
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2284
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2285
+  (1.3ms) rollback transaction
2286
+  (0.2ms) begin transaction
2287
+  (0.2ms) SAVEPOINT active_record_1
2288
+ SQL (1.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2290
+  (0.1ms) SAVEPOINT active_record_1
2291
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:45:30 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:45:30 UTC +00:00]]
2292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2293
+ Processing by Koudoku::WebhooksController#create as HTML
2294
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2295
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2296
+  (1.2ms) rollback transaction
2297
+  (0.2ms) begin transaction
2298
+  (0.2ms) rollback transaction
2299
+  (0.2ms) begin transaction
2300
+  (0.1ms) rollback transaction
2301
+  (0.1ms) begin transaction
2302
+  (0.1ms) rollback transaction
2303
+  (0.1ms) begin transaction
2304
+  (0.1ms) rollback transaction
2305
+  (0.2ms) begin transaction
2306
+  (0.1ms) rollback transaction
2307
+  (0.1ms) begin transaction
2308
+  (0.1ms) rollback transaction
2309
+  (0.1ms) begin transaction
2310
+  (0.1ms) rollback transaction
2311
+  (0.1ms) begin transaction
2312
+  (0.1ms) rollback transaction
2313
+  (0.1ms) begin transaction
2314
+  (0.2ms) rollback transaction
2315
+  (0.1ms) begin transaction
2316
+  (0.2ms) rollback transaction
2317
+ Connecting to database specified by database.yml
2318
+  (1.2ms) begin transaction
2319
+  (0.3ms) rollback transaction
2320
+  (0.2ms) begin transaction
2321
+  (0.1ms) rollback transaction
2322
+  (0.2ms) begin transaction
2323
+  (0.1ms) rollback transaction
2324
+  (0.1ms) begin transaction
2325
+  (0.2ms) rollback transaction
2326
+  (0.2ms) begin transaction
2327
+ Processing by Koudoku::WebhooksController#create as HTML
2328
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2329
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
2330
+ Completed 500 Internal Server Error in 18ms
2331
+  (0.3ms) rollback transaction
2332
+  (0.3ms) begin transaction
2333
+  (0.1ms) SAVEPOINT active_record_1
2334
+ SQL (18.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2335
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2336
+  (0.2ms) SAVEPOINT active_record_1
2337
+ SQL (1.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2339
+ Processing by Koudoku::WebhooksController#create as HTML
2340
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2341
+ Completed 200 OK in 33ms (Views: 32.6ms | ActiveRecord: 0.0ms)
2342
+  (2.2ms) rollback transaction
2343
+  (0.2ms) begin transaction
2344
+  (0.1ms) SAVEPOINT active_record_1
2345
+ SQL (1.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2347
+  (0.1ms) SAVEPOINT active_record_1
2348
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2350
+ Processing by Koudoku::WebhooksController#create as HTML
2351
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2352
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2353
+  (1.0ms) rollback transaction
2354
+  (0.2ms) begin transaction
2355
+  (0.3ms) SAVEPOINT active_record_1
2356
+ SQL (1.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2358
+  (0.1ms) SAVEPOINT active_record_1
2359
+ SQL (1.8ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2361
+ Processing by Koudoku::WebhooksController#create as HTML
2362
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2363
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2364
+  (1.1ms) rollback transaction
2365
+  (0.1ms) begin transaction
2366
+  (0.1ms) SAVEPOINT active_record_1
2367
+ SQL (1.1ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2369
+  (0.1ms) SAVEPOINT active_record_1
2370
+ SQL (2.1ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2371
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2372
+ Processing by Koudoku::WebhooksController#create as HTML
2373
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2374
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2375
+  (1.0ms) rollback transaction
2376
+  (0.2ms) begin transaction
2377
+  (0.1ms) SAVEPOINT active_record_1
2378
+ SQL (1.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2379
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2380
+  (0.1ms) SAVEPOINT active_record_1
2381
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2382
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2383
+ Processing by Koudoku::WebhooksController#create as HTML
2384
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2385
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2386
+  (1.2ms) rollback transaction
2387
+  (0.2ms) begin transaction
2388
+  (0.1ms) SAVEPOINT active_record_1
2389
+ SQL (1.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2391
+  (0.1ms) SAVEPOINT active_record_1
2392
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:12 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:12 UTC +00:00]]
2393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2394
+ Processing by Koudoku::WebhooksController#create as HTML
2395
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2396
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2397
+  (1.0ms) rollback transaction
2398
+  (0.2ms) begin transaction
2399
+ Processing by Koudoku::WebhooksController#create as HTML
2400
+ Parameters: {"api_key"=>"not-the-api-key"}
2401
+ Completed 500 Internal Server Error in 1ms
2402
+  (0.2ms) rollback transaction
2403
+  (0.1ms) begin transaction
2404
+ Processing by Koudoku::WebhooksController#create as HTML
2405
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2406
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2407
+  (0.2ms) rollback transaction
2408
+  (0.2ms) begin transaction
2409
+  (0.1ms) rollback transaction
2410
+  (0.1ms) begin transaction
2411
+  (0.1ms) rollback transaction
2412
+  (0.1ms) begin transaction
2413
+  (0.1ms) rollback transaction
2414
+  (0.1ms) begin transaction
2415
+  (0.1ms) rollback transaction
2416
+  (0.1ms) begin transaction
2417
+  (0.2ms) rollback transaction
2418
+  (0.2ms) begin transaction
2419
+  (0.2ms) rollback transaction
2420
+ Connecting to database specified by database.yml
2421
+  (1.2ms) begin transaction
2422
+  (0.2ms) rollback transaction
2423
+  (0.2ms) begin transaction
2424
+  (0.2ms) rollback transaction
2425
+  (0.3ms) begin transaction
2426
+  (0.2ms) rollback transaction
2427
+  (0.3ms) begin transaction
2428
+  (0.1ms) rollback transaction
2429
+  (0.2ms) begin transaction
2430
+  (0.2ms) rollback transaction
2431
+  (0.2ms) begin transaction
2432
+  (0.2ms) rollback transaction
2433
+  (0.2ms) begin transaction
2434
+  (0.2ms) rollback transaction
2435
+  (0.1ms) begin transaction
2436
+  (0.1ms) rollback transaction
2437
+  (0.1ms) begin transaction
2438
+  (0.1ms) rollback transaction
2439
+  (0.1ms) begin transaction
2440
+  (0.1ms) rollback transaction
2441
+  (0.2ms) begin transaction
2442
+ Processing by Koudoku::WebhooksController#create as HTML
2443
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2444
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
2445
+ Completed 500 Internal Server Error in 15ms
2446
+  (0.2ms) rollback transaction
2447
+  (0.2ms) begin transaction
2448
+  (0.2ms) SAVEPOINT active_record_1
2449
+ SQL (17.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:58 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:58 UTC +00:00]]
2450
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2451
+  (0.2ms) SAVEPOINT active_record_1
2452
+ SQL (1.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:58 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:58 UTC +00:00]]
2453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2454
+ Processing by Koudoku::WebhooksController#create as HTML
2455
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2456
+ Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.0ms)
2457
+  (2.2ms) rollback transaction
2458
+  (0.2ms) begin transaction
2459
+  (0.1ms) SAVEPOINT active_record_1
2460
+ SQL (1.4ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2461
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2462
+  (0.1ms) SAVEPOINT active_record_1
2463
+ SQL (1.2ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2464
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2465
+ Processing by Koudoku::WebhooksController#create as HTML
2466
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2467
+ Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2468
+  (1.0ms) rollback transaction
2469
+  (0.2ms) begin transaction
2470
+  (0.1ms) SAVEPOINT active_record_1
2471
+ SQL (1.1ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2472
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2473
+  (0.3ms) SAVEPOINT active_record_1
2474
+ SQL (1.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2475
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2476
+ Processing by Koudoku::WebhooksController#create as HTML
2477
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2478
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2479
+  (1.4ms) rollback transaction
2480
+  (0.2ms) begin transaction
2481
+  (0.2ms) SAVEPOINT active_record_1
2482
+ SQL (1.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2484
+  (0.1ms) SAVEPOINT active_record_1
2485
+ SQL (1.2ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2487
+ Processing by Koudoku::WebhooksController#create as HTML
2488
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2489
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2490
+  (1.0ms) rollback transaction
2491
+  (0.2ms) begin transaction
2492
+  (0.1ms) SAVEPOINT active_record_1
2493
+ SQL (2.2ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2494
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2495
+  (0.1ms) SAVEPOINT active_record_1
2496
+ SQL (1.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2497
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2498
+ Processing by Koudoku::WebhooksController#create as HTML
2499
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2500
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2501
+  (0.9ms) rollback transaction
2502
+  (0.2ms) begin transaction
2503
+  (0.2ms) SAVEPOINT active_record_1
2504
+ SQL (2.1ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2505
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2506
+  (0.1ms) SAVEPOINT active_record_1
2507
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:46:59 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:46:59 UTC +00:00]]
2508
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2509
+ Processing by Koudoku::WebhooksController#create as HTML
2510
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2511
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2512
+  (0.9ms) rollback transaction
2513
+  (0.2ms) begin transaction
2514
+ Processing by Koudoku::WebhooksController#create as HTML
2515
+ Parameters: {"api_key"=>"not-the-api-key"}
2516
+ Completed 500 Internal Server Error in 1ms
2517
+  (0.2ms) rollback transaction
2518
+  (0.1ms) begin transaction
2519
+ Processing by Koudoku::WebhooksController#create as HTML
2520
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2521
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2522
+  (0.2ms) rollback transaction
2523
+ Connecting to database specified by database.yml
2524
+  (1.1ms) begin transaction
2525
+  (0.2ms) rollback transaction
2526
+  (0.1ms) begin transaction
2527
+  (0.1ms) rollback transaction
2528
+  (0.1ms) begin transaction
2529
+  (0.1ms) rollback transaction
2530
+  (0.1ms) begin transaction
2531
+  (0.1ms) rollback transaction
2532
+  (0.1ms) begin transaction
2533
+  (0.1ms) rollback transaction
2534
+  (0.1ms) begin transaction
2535
+  (0.1ms) rollback transaction
2536
+  (0.1ms) begin transaction
2537
+ Processing by Koudoku::WebhooksController#create as HTML
2538
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2539
+ Subscription Load (0.4ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
2540
+ Completed 500 Internal Server Error in 99ms
2541
+  (0.2ms) rollback transaction
2542
+  (0.1ms) begin transaction
2543
+  (0.2ms) SAVEPOINT active_record_1
2544
+ SQL (15.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2545
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2546
+  (0.2ms) SAVEPOINT active_record_1
2547
+ SQL (1.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2549
+ Processing by Koudoku::WebhooksController#create as HTML
2550
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2551
+ Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.0ms)
2552
+  (2.1ms) rollback transaction
2553
+  (0.2ms) begin transaction
2554
+  (0.1ms) SAVEPOINT active_record_1
2555
+ SQL (1.2ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2556
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2557
+  (0.1ms) SAVEPOINT active_record_1
2558
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2559
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2560
+ Processing by Koudoku::WebhooksController#create as HTML
2561
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2562
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2563
+  (0.9ms) rollback transaction
2564
+  (0.2ms) begin transaction
2565
+  (0.1ms) SAVEPOINT active_record_1
2566
+ SQL (1.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2567
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2568
+  (0.1ms) SAVEPOINT active_record_1
2569
+ SQL (1.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2571
+ Processing by Koudoku::WebhooksController#create as HTML
2572
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2573
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2574
+  (1.1ms) rollback transaction
2575
+  (0.1ms) begin transaction
2576
+  (0.1ms) SAVEPOINT active_record_1
2577
+ SQL (1.2ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2579
+  (0.2ms) SAVEPOINT active_record_1
2580
+ SQL (1.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2582
+ Processing by Koudoku::WebhooksController#create as HTML
2583
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2584
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2585
+  (1.0ms) rollback transaction
2586
+  (0.2ms) begin transaction
2587
+  (0.2ms) SAVEPOINT active_record_1
2588
+ SQL (1.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2589
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2590
+  (0.2ms) SAVEPOINT active_record_1
2591
+ SQL (2.2ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2592
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2593
+ Processing by Koudoku::WebhooksController#create as HTML
2594
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2595
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2596
+  (0.9ms) rollback transaction
2597
+  (0.2ms) begin transaction
2598
+  (0.1ms) SAVEPOINT active_record_1
2599
+ SQL (1.7ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2600
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2601
+  (0.1ms) SAVEPOINT active_record_1
2602
+ SQL (1.3ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 16:47:37 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 16:47:37 UTC +00:00]]
2603
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2604
+ Processing by Koudoku::WebhooksController#create as HTML
2605
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2606
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2607
+  (0.9ms) rollback transaction
2608
+  (0.2ms) begin transaction
2609
+ Processing by Koudoku::WebhooksController#create as HTML
2610
+ Parameters: {"api_key"=>"not-the-api-key"}
2611
+ Completed 500 Internal Server Error in 1ms
2612
+  (0.3ms) rollback transaction
2613
+  (0.2ms) begin transaction
2614
+ Processing by Koudoku::WebhooksController#create as HTML
2615
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2616
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2617
+  (0.2ms) rollback transaction
2618
+  (0.1ms) begin transaction
2619
+  (0.1ms) rollback transaction
2620
+  (0.3ms) begin transaction
2621
+  (0.2ms) rollback transaction
2622
+  (0.2ms) begin transaction
2623
+  (0.1ms) rollback transaction
2624
+  (0.2ms) begin transaction
2625
+  (0.2ms) rollback transaction
2626
+ Connecting to database specified by database.yml
2627
+  (0.5ms) begin transaction
2628
+  (0.1ms) rollback transaction
2629
+  (0.1ms) begin transaction
2630
+  (0.0ms) rollback transaction
2631
+  (0.0ms) begin transaction
2632
+  (0.1ms) rollback transaction
2633
+  (0.1ms) begin transaction
2634
+  (0.0ms) rollback transaction
2635
+  (0.1ms) begin transaction
2636
+  (0.1ms) rollback transaction
2637
+  (0.0ms) begin transaction
2638
+  (0.0ms) rollback transaction
2639
+  (0.0ms) begin transaction
2640
+  (0.0ms) rollback transaction
2641
+  (0.0ms) begin transaction
2642
+  (0.0ms) rollback transaction
2643
+  (0.0ms) begin transaction
2644
+  (0.0ms) rollback transaction
2645
+  (0.0ms) begin transaction
2646
+  (0.0ms) rollback transaction
2647
+  (0.0ms) begin transaction
2648
+ Processing by Koudoku::WebhooksController#create as HTML
2649
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2650
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."stripe_id" = 'some-random-id' LIMIT 1
2651
+ Completed 500 Internal Server Error in 42ms
2652
+  (0.1ms) rollback transaction
2653
+  (0.0ms) begin transaction
2654
+  (0.1ms) SAVEPOINT active_record_1
2655
+ SQL (7.8ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2657
+  (0.1ms) SAVEPOINT active_record_1
2658
+ SQL (0.6ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2660
+ Processing by Koudoku::WebhooksController#create as HTML
2661
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2662
+ Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
2663
+  (0.5ms) rollback transaction
2664
+  (0.1ms) begin transaction
2665
+  (0.0ms) SAVEPOINT active_record_1
2666
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2668
+  (0.0ms) SAVEPOINT active_record_1
2669
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2671
+ Processing by Koudoku::WebhooksController#create as HTML
2672
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2673
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2674
+  (0.6ms) rollback transaction
2675
+  (0.1ms) begin transaction
2676
+  (0.1ms) SAVEPOINT active_record_1
2677
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2679
+  (0.0ms) SAVEPOINT active_record_1
2680
+ SQL (0.7ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2682
+ Processing by Koudoku::WebhooksController#create as HTML
2683
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2684
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2685
+  (0.7ms) rollback transaction
2686
+  (0.1ms) begin transaction
2687
+  (0.1ms) SAVEPOINT active_record_1
2688
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2690
+  (0.0ms) SAVEPOINT active_record_1
2691
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2693
+ Processing by Koudoku::WebhooksController#create as HTML
2694
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2695
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2696
+  (0.5ms) rollback transaction
2697
+  (0.1ms) begin transaction
2698
+  (0.1ms) SAVEPOINT active_record_1
2699
+ SQL (0.5ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2701
+  (0.1ms) SAVEPOINT active_record_1
2702
+ SQL (0.5ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2703
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2704
+ Processing by Koudoku::WebhooksController#create as HTML
2705
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2706
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2707
+  (0.5ms) rollback transaction
2708
+  (0.1ms) begin transaction
2709
+  (0.1ms) SAVEPOINT active_record_1
2710
+ SQL (0.6ms) INSERT INTO "customers" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["email", "andrew.culver@gmail.com"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2712
+  (0.0ms) SAVEPOINT active_record_1
2713
+ SQL (0.4ms) INSERT INTO "subscriptions" ("card_type", "coupon_id", "created_at", "current_price", "customer_id", "last_four", "plan_id", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["card_type", nil], ["coupon_id", nil], ["created_at", Mon, 20 May 2013 17:35:21 UTC +00:00], ["current_price", nil], ["customer_id", 1], ["last_four", nil], ["plan_id", nil], ["stripe_id", "customer-id"], ["updated_at", Mon, 20 May 2013 17:35:21 UTC +00:00]]
2714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2715
+ Processing by Koudoku::WebhooksController#create as HTML
2716
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2717
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2718
+  (0.5ms) rollback transaction
2719
+  (0.1ms) begin transaction
2720
+ Processing by Koudoku::WebhooksController#create as HTML
2721
+ Parameters: {"api_key"=>"not-the-api-key"}
2722
+ Completed 500 Internal Server Error in 0ms
2723
+  (0.1ms) rollback transaction
2724
+  (0.1ms) begin transaction
2725
+ Processing by Koudoku::WebhooksController#create as HTML
2726
+ Parameters: {"api_key"=>"2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"}
2727
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2728
+  (0.1ms) rollback transaction