opay 1.0.0.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +3 -0
  3. data/Rakefile +22 -0
  4. data/app/assets/javascripts/opay/application.js +15 -0
  5. data/app/assets/stylesheets/opay/application.css +13 -0
  6. data/app/controllers/opay/application_controller.rb +4 -0
  7. data/app/controllers/opay/payu_controller.rb +9 -0
  8. data/app/helpers/opay/application_helper.rb +4 -0
  9. data/app/helpers/opay/payu_helper.rb +4 -0
  10. data/app/models/opay/payment.rb +6 -0
  11. data/app/views/layouts/opay/application.html.erb +14 -0
  12. data/config/routes.rb +8 -0
  13. data/db/migrate/20130321114023_create_opay_payments.rb +14 -0
  14. data/lib/generators/opay/config_generator.rb +12 -0
  15. data/lib/generators/opay/templates/opay_config.rb +9 -0
  16. data/lib/opay/configuration.rb +42 -0
  17. data/lib/opay/engine.rb +23 -0
  18. data/lib/opay/form_builder.rb +5 -0
  19. data/lib/opay/helpers/form_helper.rb +14 -0
  20. data/lib/opay/helpers/payu_helper.rb +41 -0
  21. data/lib/opay/helpers.rb +6 -0
  22. data/lib/opay/payable.rb +30 -0
  23. data/lib/opay/providers/payu.rb +76 -0
  24. data/lib/opay/providers.rb +5 -0
  25. data/lib/opay/version.rb +3 -0
  26. data/lib/opay.rb +14 -0
  27. data/lib/tasks/opay_tasks.rake +4 -0
  28. data/spec/dummy/README.rdoc +261 -0
  29. data/spec/dummy/Rakefile +7 -0
  30. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  31. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  32. data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
  33. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  34. data/spec/dummy/app/controllers/orders_controller.rb +83 -0
  35. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  36. data/spec/dummy/app/helpers/orders_helper.rb +2 -0
  37. data/spec/dummy/app/models/order.rb +7 -0
  38. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  39. data/spec/dummy/app/views/orders/_form.html.erb +25 -0
  40. data/spec/dummy/app/views/orders/edit.html.erb +6 -0
  41. data/spec/dummy/app/views/orders/index.html.erb +25 -0
  42. data/spec/dummy/app/views/orders/new.html.erb +5 -0
  43. data/spec/dummy/app/views/orders/show.html.erb +15 -0
  44. data/spec/dummy/config/application.rb +76 -0
  45. data/spec/dummy/config/boot.rb +10 -0
  46. data/spec/dummy/config/database.yml +30 -0
  47. data/spec/dummy/config/environment.rb +5 -0
  48. data/spec/dummy/config/environments/development.rb +37 -0
  49. data/spec/dummy/config/environments/production.rb +67 -0
  50. data/spec/dummy/config/environments/test.rb +37 -0
  51. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  52. data/spec/dummy/config/initializers/inflections.rb +15 -0
  53. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  54. data/spec/dummy/config/initializers/opay_config.rb +9 -0
  55. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  56. data/spec/dummy/config/initializers/session_store.rb +8 -0
  57. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  58. data/spec/dummy/config/locales/en.yml +5 -0
  59. data/spec/dummy/config/routes.rb +4 -0
  60. data/spec/dummy/config.ru +4 -0
  61. data/spec/dummy/db/development.sqlite3 +0 -0
  62. data/spec/dummy/db/migrate/20130326152550_create_orders.rb +10 -0
  63. data/spec/dummy/db/schema.rb +36 -0
  64. data/spec/dummy/db/test.sqlite3 +0 -0
  65. data/spec/dummy/log/development.log +1511 -0
  66. data/spec/dummy/log/test.log +1629 -0
  67. data/spec/dummy/opay_config.rb +1 -0
  68. data/spec/dummy/public/404.html +26 -0
  69. data/spec/dummy/public/422.html +26 -0
  70. data/spec/dummy/public/500.html +25 -0
  71. data/spec/dummy/public/favicon.ico +0 -0
  72. data/spec/dummy/script/rails +6 -0
  73. data/spec/dummy/spec/factories/orders.rb +8 -0
  74. data/spec/dummy/spec/models/order_spec.rb +5 -0
  75. data/spec/dummy/tmp/cache/assets/C23/400/sprockets%2F31710301f0d68b89727f5de964446610 +0 -0
  76. data/spec/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  77. data/spec/dummy/tmp/cache/assets/CA6/480/sprockets%2F46f1812fd06c1e0802a414931ff82f71 +0 -0
  78. data/spec/dummy/tmp/cache/assets/CB2/7F0/sprockets%2F9d79a842f086f17d3420e5cb88710c10 +0 -0
  79. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  80. data/spec/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  81. data/spec/dummy/tmp/cache/assets/D25/7A0/sprockets%2F0c58b40b01f62ed06f75ee2d444a111a +0 -0
  82. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  83. data/spec/dummy/tmp/cache/assets/D39/8F0/sprockets%2F931d437216848cdf2a7bbac6c0f4c426 +0 -0
  84. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  85. data/spec/dummy/tmp/cache/assets/D54/F30/sprockets%2F8ea40d0224e2d772232dcbfbf0fc3005 +0 -0
  86. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  87. data/spec/dummy/tmp/cache/assets/D99/A20/sprockets%2F552b4516be6f766a2da35c26be2f1ecf +0 -0
  88. data/spec/dummy/tmp/cache/assets/DC9/EF0/sprockets%2F508b2ee0aa9ed068a10af6d8cf9d0e19 +0 -0
  89. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  90. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  91. data/spec/factories/opay_payments.rb +10 -0
  92. data/spec/lib/opay/helpers/payu_helper_spec.rb +41 -0
  93. data/spec/lib/opay/payable_spec.rb +18 -0
  94. data/spec/lib/opay/providers/payu_spec.rb +106 -0
  95. data/spec/models/opay/payment_spec.rb +7 -0
  96. data/spec/spec_helper.rb +83 -0
  97. data/spec/support/xml/error.xml.erb +8 -0
  98. data/spec/support/xml/success.xml.erb +24 -0
  99. metadata +379 -0
@@ -0,0 +1,1629 @@
1
+  (0.1ms) begin transaction
2
+ SQL (37.9ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00]]
3
+  (1.5ms) commit transaction
4
+  (0.1ms) begin transaction
5
+ Binary data inserted for `string` type on column `session_id`
6
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00]]
7
+  (1.3ms) commit transaction
8
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
9
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
10
+  (0.0ms) begin transaction
11
+  (0.5ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:30:42.898234' WHERE "opay_payments"."id" = 1
12
+  (1.2ms) commit transaction
13
+  (1.9ms) DELETE FROM "opay_payments";
14
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
15
+  (1.6ms) DELETE FROM "orders";
16
+  (23.6ms) DELETE FROM sqlite_sequence where name = 'orders';
17
+  (0.1ms) begin transaction
18
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00]]
19
+  (2.0ms) commit transaction
20
+  (0.0ms) begin transaction
21
+ Binary data inserted for `string` type on column `session_id`
22
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00]]
23
+  (1.7ms) commit transaction
24
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
25
+  (2.4ms) DELETE FROM "opay_payments";
26
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
27
+  (1.3ms) DELETE FROM "orders";
28
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
29
+  (0.1ms) begin transaction
30
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00]]
31
+  (4.1ms) commit transaction
32
+  (0.2ms) begin transaction
33
+ Binary data inserted for `string` type on column `session_id`
34
+ SQL (0.8ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:30:42 UTC +00:00]]
35
+  (1.9ms) commit transaction
36
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
37
+  (1.9ms) DELETE FROM "opay_payments";
38
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
39
+  (1.7ms) DELETE FROM "orders";
40
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
41
+  (2.0ms) DELETE FROM "opay_payments";
42
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
43
+  (1.9ms) DELETE FROM "orders";
44
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
45
+  (2.0ms) DELETE FROM "opay_payments";
46
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
47
+  (1.2ms) DELETE FROM "orders";
48
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
49
+  (0.1ms) begin transaction
50
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:30:43 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:30:43 UTC +00:00]]
51
+  (45.6ms) commit transaction
52
+  (0.1ms) begin transaction
53
+ Binary data inserted for `string` type on column `session_id`
54
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:30:43 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:30:43 UTC +00:00]]
55
+  (1.5ms) commit transaction
56
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
57
+  (22.2ms) DELETE FROM "opay_payments";
58
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
59
+  (1.8ms) DELETE FROM "orders";
60
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'orders';
61
+  (2.2ms) DELETE FROM "opay_payments";
62
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
63
+  (1.7ms) DELETE FROM "orders";
64
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
65
+  (3.1ms) DELETE FROM "opay_payments";
66
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
67
+  (1.5ms) DELETE FROM "orders";
68
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'orders';
69
+  (0.1ms) begin transaction
70
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:30:43 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:30:43 UTC +00:00]]
71
+  (39.6ms) commit transaction
72
+  (2.0ms) DELETE FROM "opay_payments";
73
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
74
+  (1.9ms) DELETE FROM "orders";
75
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
76
+  (0.1ms) begin transaction
77
+ SQL (5.9ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00]]
78
+  (1.6ms) commit transaction
79
+  (0.1ms) begin transaction
80
+ Binary data inserted for `string` type on column `session_id`
81
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00]]
82
+  (36.2ms) commit transaction
83
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
84
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
85
+  (0.0ms) begin transaction
86
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:30:44.768271' WHERE "opay_payments"."id" = 1
87
+  (1.8ms) commit transaction
88
+  (1.8ms) DELETE FROM "opay_payments";
89
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
90
+  (1.4ms) DELETE FROM "orders";
91
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'orders';
92
+  (0.1ms) begin transaction
93
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00]]
94
+  (1.4ms) commit transaction
95
+  (0.0ms) begin transaction
96
+ Binary data inserted for `string` type on column `session_id`
97
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00]]
98
+  (1.4ms) commit transaction
99
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
100
+  (1.8ms) DELETE FROM "opay_payments";
101
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
102
+  (1.3ms) DELETE FROM "orders";
103
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
104
+  (0.1ms) begin transaction
105
+ SQL (1.3ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00]]
106
+  (1.4ms) commit transaction
107
+  (0.2ms) begin transaction
108
+ Binary data inserted for `string` type on column `session_id`
109
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:30:44 UTC +00:00]]
110
+  (1.7ms) commit transaction
111
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
112
+  (2.2ms) DELETE FROM "opay_payments";
113
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
114
+  (1.5ms) DELETE FROM "orders";
115
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
116
+  (53.8ms) DELETE FROM "opay_payments";
117
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
118
+  (1.7ms) DELETE FROM "orders";
119
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
120
+  (2.2ms) DELETE FROM "opay_payments";
121
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
122
+  (2.3ms) DELETE FROM "orders";
123
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
124
+  (0.1ms) begin transaction
125
+ SQL (7.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:33:06 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:33:06 UTC +00:00]]
126
+  (2.1ms) commit transaction
127
+  (0.1ms) begin transaction
128
+ Binary data inserted for `string` type on column `session_id`
129
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
130
+  (7.2ms) commit transaction
131
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
132
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
133
+  (0.0ms) begin transaction
134
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:33:07.180594' WHERE "opay_payments"."id" = 1
135
+  (1.8ms) commit transaction
136
+  (2.0ms) DELETE FROM "opay_payments";
137
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
138
+  (1.7ms) DELETE FROM "orders";
139
+  (2.4ms) DELETE FROM sqlite_sequence where name = 'orders';
140
+  (0.1ms) begin transaction
141
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
142
+  (2.0ms) commit transaction
143
+  (0.0ms) begin transaction
144
+ Binary data inserted for `string` type on column `session_id`
145
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
146
+  (3.1ms) commit transaction
147
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
148
+  (1.7ms) DELETE FROM "opay_payments";
149
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
150
+  (1.4ms) DELETE FROM "orders";
151
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
152
+  (0.0ms) begin transaction
153
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
154
+  (1.4ms) commit transaction
155
+  (0.1ms) begin transaction
156
+ Binary data inserted for `string` type on column `session_id`
157
+ SQL (0.9ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
158
+  (1.5ms) commit transaction
159
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
160
+  (1.6ms) DELETE FROM "opay_payments";
161
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
162
+  (1.7ms) DELETE FROM "orders";
163
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
164
+  (1.8ms) DELETE FROM "opay_payments";
165
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
166
+  (1.4ms) DELETE FROM "orders";
167
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'orders';
168
+  (1.7ms) DELETE FROM "opay_payments";
169
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
170
+  (1.4ms) DELETE FROM "orders";
171
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
172
+  (0.1ms) begin transaction
173
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
174
+  (1.4ms) commit transaction
175
+  (0.1ms) begin transaction
176
+ Binary data inserted for `string` type on column `session_id`
177
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
178
+  (58.2ms) commit transaction
179
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
180
+  (2.4ms) DELETE FROM "opay_payments";
181
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
182
+  (1.7ms) DELETE FROM "orders";
183
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
184
+  (2.1ms) DELETE FROM "opay_payments";
185
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
186
+  (1.5ms) DELETE FROM "orders";
187
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
188
+  (1.7ms) DELETE FROM "opay_payments";
189
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
190
+  (1.3ms) DELETE FROM "orders";
191
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
192
+  (0.1ms) begin transaction
193
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:33:07 UTC +00:00]]
194
+  (2.0ms) commit transaction
195
+  (1.8ms) DELETE FROM "opay_payments";
196
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
197
+  (42.5ms) DELETE FROM "orders";
198
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
199
+  (0.1ms) begin transaction
200
+ SQL (37.9ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
201
+  (1.4ms) commit transaction
202
+  (0.1ms) begin transaction
203
+ Binary data inserted for `string` type on column `session_id`
204
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
205
+  (1.4ms) commit transaction
206
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
207
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
208
+  (0.0ms) begin transaction
209
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:34:25.515281' WHERE "opay_payments"."id" = 1
210
+  (1.2ms) commit transaction
211
+  (1.8ms) DELETE FROM "opay_payments";
212
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
213
+  (1.5ms) DELETE FROM "orders";
214
+  (2.0ms) DELETE FROM sqlite_sequence where name = 'orders';
215
+  (0.1ms) begin transaction
216
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
217
+  (1.5ms) commit transaction
218
+  (0.0ms) begin transaction
219
+ Binary data inserted for `string` type on column `session_id`
220
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
221
+  (1.5ms) commit transaction
222
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
223
+  (1.9ms) DELETE FROM "opay_payments";
224
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
225
+  (1.6ms) DELETE FROM "orders";
226
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
227
+  (0.0ms) begin transaction
228
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
229
+  (1.6ms) commit transaction
230
+  (0.1ms) begin transaction
231
+ Binary data inserted for `string` type on column `session_id`
232
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
233
+  (1.3ms) commit transaction
234
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
235
+  (1.7ms) DELETE FROM "opay_payments";
236
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
237
+  (1.4ms) DELETE FROM "orders";
238
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
239
+  (2.1ms) DELETE FROM "opay_payments";
240
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
241
+  (1.3ms) DELETE FROM "orders";
242
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
243
+  (1.7ms) DELETE FROM "opay_payments";
244
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
245
+  (1.4ms) DELETE FROM "orders";
246
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
247
+  (0.1ms) begin transaction
248
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
249
+  (1.3ms) commit transaction
250
+  (0.1ms) begin transaction
251
+ Binary data inserted for `string` type on column `session_id`
252
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
253
+  (2.0ms) commit transaction
254
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
255
+  (2.1ms) DELETE FROM "opay_payments";
256
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
257
+  (1.4ms) DELETE FROM "orders";
258
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
259
+  (2.8ms) DELETE FROM "opay_payments";
260
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
261
+  (1.3ms) DELETE FROM "orders";
262
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
263
+  (1.9ms) DELETE FROM "opay_payments";
264
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
265
+  (1.3ms) DELETE FROM "orders";
266
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
267
+  (0.1ms) begin transaction
268
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:34:25 UTC +00:00]]
269
+  (1.7ms) commit transaction
270
+  (1.7ms) DELETE FROM "opay_payments";
271
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
272
+  (1.5ms) DELETE FROM "orders";
273
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
274
+  (0.1ms) begin transaction
275
+ SQL (8.3ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:26 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:26 UTC +00:00]]
276
+  (3.3ms) commit transaction
277
+  (0.1ms) begin transaction
278
+ Binary data inserted for `string` type on column `session_id`
279
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00]]
280
+  (1.5ms) commit transaction
281
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
282
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
283
+  (0.0ms) begin transaction
284
+  (0.4ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:34:27.094109' WHERE "opay_payments"."id" = 1
285
+  (12.5ms) commit transaction
286
+  (1.9ms) DELETE FROM "opay_payments";
287
+  (2.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
288
+  (1.8ms) DELETE FROM "orders";
289
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
290
+  (0.1ms) begin transaction
291
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00]]
292
+  (3.6ms) commit transaction
293
+  (0.1ms) begin transaction
294
+ Binary data inserted for `string` type on column `session_id`
295
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00]]
296
+  (1.6ms) commit transaction
297
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
298
+  (2.1ms) DELETE FROM "opay_payments";
299
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
300
+  (1.4ms) DELETE FROM "orders";
301
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
302
+  (0.1ms) begin transaction
303
+ SQL (0.9ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00]]
304
+  (1.9ms) commit transaction
305
+  (0.0ms) begin transaction
306
+ Binary data inserted for `string` type on column `session_id`
307
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:27 UTC +00:00]]
308
+  (2.2ms) commit transaction
309
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
310
+  (2.4ms) DELETE FROM "opay_payments";
311
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
312
+  (1.7ms) DELETE FROM "orders";
313
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
314
+  (1.8ms) DELETE FROM "opay_payments";
315
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
316
+  (2.7ms) DELETE FROM "orders";
317
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
318
+  (1.9ms) DELETE FROM "opay_payments";
319
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
320
+  (1.3ms) DELETE FROM "orders";
321
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
322
+  (0.1ms) begin transaction
323
+ SQL (57.2ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:46 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:46 UTC +00:00]]
324
+  (1.4ms) commit transaction
325
+  (0.1ms) begin transaction
326
+ Binary data inserted for `string` type on column `session_id`
327
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
328
+  (1.8ms) commit transaction
329
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
330
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
331
+  (0.0ms) begin transaction
332
+  (0.4ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:34:47.379308' WHERE "opay_payments"."id" = 1
333
+  (1.3ms) commit transaction
334
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
335
+  (1.8ms) DELETE FROM "opay_payments";
336
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
337
+  (1.3ms) DELETE FROM "orders";
338
+  (2.8ms) DELETE FROM sqlite_sequence where name = 'orders';
339
+  (0.1ms) begin transaction
340
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
341
+  (1.5ms) commit transaction
342
+  (0.0ms) begin transaction
343
+ Binary data inserted for `string` type on column `session_id`
344
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
345
+  (1.7ms) commit transaction
346
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
347
+  (1.8ms) DELETE FROM "opay_payments";
348
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
349
+  (1.6ms) DELETE FROM "orders";
350
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
351
+  (0.1ms) begin transaction
352
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
353
+  (1.6ms) commit transaction
354
+  (0.0ms) begin transaction
355
+ Binary data inserted for `string` type on column `session_id`
356
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
357
+  (1.4ms) commit transaction
358
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
359
+  (2.1ms) DELETE FROM "opay_payments";
360
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
361
+  (1.5ms) DELETE FROM "orders";
362
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
363
+  (1.9ms) DELETE FROM "opay_payments";
364
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
365
+  (1.7ms) DELETE FROM "orders";
366
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
367
+  (1.7ms) DELETE FROM "opay_payments";
368
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
369
+  (1.3ms) DELETE FROM "orders";
370
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
371
+  (0.1ms) begin transaction
372
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
373
+  (1.4ms) commit transaction
374
+  (0.1ms) begin transaction
375
+ Binary data inserted for `string` type on column `session_id`
376
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
377
+  (43.3ms) commit transaction
378
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
379
+  (2.0ms) DELETE FROM "opay_payments";
380
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
381
+  (1.5ms) DELETE FROM "orders";
382
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
383
+  (3.1ms) DELETE FROM "opay_payments";
384
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
385
+  (1.7ms) DELETE FROM "orders";
386
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
387
+  (2.1ms) DELETE FROM "opay_payments";
388
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
389
+  (1.5ms) DELETE FROM "orders";
390
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
391
+  (0.1ms) begin transaction
392
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:34:47 UTC +00:00]]
393
+  (3.3ms) commit transaction
394
+  (52.5ms) DELETE FROM "opay_payments";
395
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
396
+  (1.5ms) DELETE FROM "orders";
397
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';
398
+  (0.1ms) begin transaction
399
+ SQL (6.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00]]
400
+  (2.0ms) commit transaction
401
+  (0.1ms) begin transaction
402
+ Binary data inserted for `string` type on column `session_id`
403
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00]]
404
+  (1.5ms) commit transaction
405
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
406
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
407
+  (0.0ms) begin transaction
408
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:34:49.172446' WHERE "opay_payments"."id" = 1
409
+  (33.9ms) commit transaction
410
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
411
+  (9.3ms) DELETE FROM "opay_payments";
412
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
413
+  (2.0ms) DELETE FROM "orders";
414
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
415
+  (0.1ms) begin transaction
416
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00]]
417
+  (3.9ms) commit transaction
418
+  (0.0ms) begin transaction
419
+ Binary data inserted for `string` type on column `session_id`
420
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00]]
421
+  (1.7ms) commit transaction
422
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
423
+  (2.0ms) DELETE FROM "opay_payments";
424
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
425
+  (1.4ms) DELETE FROM "orders";
426
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
427
+  (0.0ms) begin transaction
428
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00]]
429
+  (20.7ms) commit transaction
430
+  (0.1ms) begin transaction
431
+ Binary data inserted for `string` type on column `session_id`
432
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:34:49 UTC +00:00]]
433
+  (2.9ms) commit transaction
434
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
435
+  (5.1ms) DELETE FROM "opay_payments";
436
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
437
+  (2.8ms) DELETE FROM "orders";
438
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'orders';
439
+  (1.8ms) DELETE FROM "opay_payments";
440
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
441
+  (1.4ms) DELETE FROM "orders";
442
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
443
+  (2.1ms) DELETE FROM "opay_payments";
444
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
445
+  (1.7ms) DELETE FROM "orders";
446
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
447
+  (0.1ms) begin transaction
448
+ SQL (106.2ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
449
+  (1.6ms) commit transaction
450
+  (0.1ms) begin transaction
451
+ Binary data inserted for `string` type on column `session_id`
452
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
453
+  (1.7ms) commit transaction
454
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
455
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
456
+  (0.0ms) begin transaction
457
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:38:10.563173' WHERE "opay_payments"."id" = 1
458
+  (1.2ms) commit transaction
459
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
460
+  (2.1ms) DELETE FROM "opay_payments";
461
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
462
+  (1.6ms) DELETE FROM "orders";
463
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
464
+  (0.1ms) begin transaction
465
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
466
+  (1.8ms) commit transaction
467
+  (0.0ms) begin transaction
468
+ Binary data inserted for `string` type on column `session_id`
469
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
470
+  (1.4ms) commit transaction
471
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
472
+  (2.0ms) DELETE FROM "opay_payments";
473
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
474
+  (1.4ms) DELETE FROM "orders";
475
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
476
+  (0.2ms) begin transaction
477
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
478
+  (1.8ms) commit transaction
479
+  (0.0ms) begin transaction
480
+ Binary data inserted for `string` type on column `session_id`
481
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
482
+  (1.4ms) commit transaction
483
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
484
+  (1.6ms) DELETE FROM "opay_payments";
485
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
486
+  (1.6ms) DELETE FROM "orders";
487
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
488
+  (2.2ms) DELETE FROM "opay_payments";
489
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
490
+  (1.4ms) DELETE FROM "orders";
491
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
492
+  (2.0ms) DELETE FROM "opay_payments";
493
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
494
+  (1.7ms) DELETE FROM "orders";
495
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
496
+  (0.1ms) begin transaction
497
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
498
+  (1.4ms) commit transaction
499
+  (0.1ms) begin transaction
500
+ Binary data inserted for `string` type on column `session_id`
501
+ SQL (0.9ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
502
+  (1.7ms) commit transaction
503
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
504
+  (2.0ms) DELETE FROM "opay_payments";
505
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
506
+  (1.6ms) DELETE FROM "orders";
507
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
508
+  (1.6ms) DELETE FROM "opay_payments";
509
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
510
+  (1.8ms) DELETE FROM "orders";
511
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
512
+  (1.7ms) DELETE FROM "opay_payments";
513
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
514
+  (1.3ms) DELETE FROM "orders";
515
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
516
+  (0.1ms) begin transaction
517
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:38:10 UTC +00:00]]
518
+  (1.6ms) commit transaction
519
+  (1.9ms) DELETE FROM "opay_payments";
520
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
521
+  (2.1ms) DELETE FROM "orders";
522
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
523
+  (2.3ms) DELETE FROM "opay_payments";
524
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
525
+  (1.7ms) DELETE FROM "orders";
526
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
527
+  (2.7ms) DELETE FROM "opay_payments";
528
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
529
+  (1.5ms) DELETE FROM "orders";
530
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
531
+  (0.1ms) begin transaction
532
+ SQL (6.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:38:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:38:11 UTC +00:00]]
533
+  (1.5ms) commit transaction
534
+  (1.7ms) DELETE FROM "opay_payments";
535
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
536
+  (1.2ms) DELETE FROM "orders";
537
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
538
+  (0.1ms) begin transaction
539
+ SQL (5.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00]]
540
+  (1.9ms) commit transaction
541
+  (0.1ms) begin transaction
542
+ Binary data inserted for `string` type on column `session_id`
543
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00]]
544
+  (1.9ms) commit transaction
545
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
546
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
547
+  (0.0ms) begin transaction
548
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:38:23.951629' WHERE "opay_payments"."id" = 1
549
+  (1.7ms) commit transaction
550
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
551
+  (1.8ms) DELETE FROM "opay_payments";
552
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
553
+  (1.5ms) DELETE FROM "orders";
554
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
555
+  (0.0ms) begin transaction
556
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00]]
557
+  (1.5ms) commit transaction
558
+  (0.0ms) begin transaction
559
+ Binary data inserted for `string` type on column `session_id`
560
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00]]
561
+  (1.2ms) commit transaction
562
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
563
+  (1.7ms) DELETE FROM "opay_payments";
564
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
565
+  (1.3ms) DELETE FROM "orders";
566
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
567
+  (0.1ms) begin transaction
568
+ SQL (1.8ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00]]
569
+  (1.5ms) commit transaction
570
+  (0.0ms) begin transaction
571
+ Binary data inserted for `string` type on column `session_id`
572
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:23 UTC +00:00]]
573
+  (1.3ms) commit transaction
574
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
575
+  (1.8ms) DELETE FROM "opay_payments";
576
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
577
+  (1.4ms) DELETE FROM "orders";
578
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
579
+  (1.8ms) DELETE FROM "opay_payments";
580
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
581
+  (1.3ms) DELETE FROM "orders";
582
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
583
+  (1.6ms) DELETE FROM "opay_payments";
584
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
585
+  (2.4ms) DELETE FROM "orders";
586
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
587
+  (0.1ms) begin transaction
588
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:38:24 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:38:24 UTC +00:00]]
589
+  (1.6ms) commit transaction
590
+  (0.1ms) begin transaction
591
+ Binary data inserted for `string` type on column `session_id`
592
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:38:24 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:38:24 UTC +00:00]]
593
+  (1.5ms) commit transaction
594
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
595
+  (2.2ms) DELETE FROM "opay_payments";
596
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
597
+  (1.5ms) DELETE FROM "orders";
598
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
599
+  (2.3ms) DELETE FROM "opay_payments";
600
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
601
+  (1.2ms) DELETE FROM "orders";
602
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
603
+  (1.6ms) DELETE FROM "opay_payments";
604
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
605
+  (1.3ms) DELETE FROM "orders";
606
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
607
+  (0.1ms) begin transaction
608
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:38:24 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:38:24 UTC +00:00]]
609
+  (37.1ms) commit transaction
610
+  (1.9ms) DELETE FROM "opay_payments";
611
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
612
+  (1.5ms) DELETE FROM "orders";
613
+  (2.0ms) DELETE FROM sqlite_sequence where name = 'orders';
614
+  (0.1ms) begin transaction
615
+ SQL (64.0ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00]]
616
+  (1.5ms) commit transaction
617
+  (0.1ms) begin transaction
618
+ Binary data inserted for `string` type on column `session_id`
619
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00]]
620
+  (1.4ms) commit transaction
621
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
622
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
623
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
624
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
625
+  (0.0ms) begin transaction
626
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:45:27.772453' WHERE "opay_payments"."id" = 1
627
+  (1.7ms) commit transaction
628
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
629
+  (1.9ms) DELETE FROM "opay_payments";
630
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
631
+  (1.5ms) DELETE FROM "orders";
632
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'orders';
633
+  (0.1ms) begin transaction
634
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00]]
635
+  (1.4ms) commit transaction
636
+  (0.0ms) begin transaction
637
+ Binary data inserted for `string` type on column `session_id`
638
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00]]
639
+  (1.4ms) commit transaction
640
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
641
+  (1.8ms) DELETE FROM "opay_payments";
642
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
643
+  (1.4ms) DELETE FROM "orders";
644
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
645
+  (0.1ms) begin transaction
646
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00]]
647
+  (26.6ms) commit transaction
648
+  (0.0ms) begin transaction
649
+ Binary data inserted for `string` type on column `session_id`
650
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:45:27 UTC +00:00]]
651
+  (1.4ms) commit transaction
652
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
653
+  (1.7ms) DELETE FROM "opay_payments";
654
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
655
+  (1.6ms) DELETE FROM "orders";
656
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
657
+  (1.7ms) DELETE FROM "opay_payments";
658
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
659
+  (1.3ms) DELETE FROM "orders";
660
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
661
+  (1.7ms) DELETE FROM "opay_payments";
662
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
663
+  (1.4ms) DELETE FROM "orders";
664
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
665
+  (0.1ms) begin transaction
666
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:45:28 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:45:28 UTC +00:00]]
667
+  (43.4ms) commit transaction
668
+  (0.1ms) begin transaction
669
+ Binary data inserted for `string` type on column `session_id`
670
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:45:28 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:45:28 UTC +00:00]]
671
+  (1.9ms) commit transaction
672
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
673
+  (1.8ms) DELETE FROM "opay_payments";
674
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
675
+  (1.4ms) DELETE FROM "orders";
676
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
677
+  (1.7ms) DELETE FROM "opay_payments";
678
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
679
+  (1.4ms) DELETE FROM "orders";
680
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
681
+  (2.1ms) DELETE FROM "opay_payments";
682
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
683
+  (2.4ms) DELETE FROM "orders";
684
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
685
+  (0.1ms) begin transaction
686
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:45:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:45:28 UTC +00:00]]
687
+  (1.7ms) commit transaction
688
+  (1.8ms) DELETE FROM "opay_payments";
689
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
690
+  (1.6ms) DELETE FROM "orders";
691
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
692
+  (2.1ms) DELETE FROM "opay_payments";
693
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
694
+  (1.6ms) DELETE FROM "orders";
695
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
696
+  (2.1ms) DELETE FROM "opay_payments";
697
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
698
+  (2.5ms) DELETE FROM "orders";
699
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
700
+  (0.1ms) begin transaction
701
+ SQL (5.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00]]
702
+  (1.9ms) commit transaction
703
+  (2.1ms) DELETE FROM "opay_payments";
704
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
705
+  (1.5ms) DELETE FROM "orders";
706
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
707
+  (0.1ms) begin transaction
708
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00]]
709
+  (2.2ms) commit transaction
710
+  (0.1ms) begin transaction
711
+ Binary data inserted for `string` type on column `session_id`
712
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00]]
713
+  (1.8ms) commit transaction
714
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
715
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
716
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
717
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
718
+  (0.0ms) begin transaction
719
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:45:30.419563' WHERE "opay_payments"."id" = 1
720
+  (1.7ms) commit transaction
721
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
722
+  (1.8ms) DELETE FROM "opay_payments";
723
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
724
+  (1.5ms) DELETE FROM "orders";
725
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'orders';
726
+  (0.1ms) begin transaction
727
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00]]
728
+  (1.4ms) commit transaction
729
+  (0.0ms) begin transaction
730
+ Binary data inserted for `string` type on column `session_id`
731
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00]]
732
+  (1.3ms) commit transaction
733
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
734
+  (1.6ms) DELETE FROM "opay_payments";
735
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
736
+  (1.5ms) DELETE FROM "orders";
737
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
738
+  (0.1ms) begin transaction
739
+ SQL (1.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00]]
740
+  (1.9ms) commit transaction
741
+  (0.0ms) begin transaction
742
+ Binary data inserted for `string` type on column `session_id`
743
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:45:30 UTC +00:00]]
744
+  (1.5ms) commit transaction
745
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
746
+  (1.7ms) DELETE FROM "opay_payments";
747
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
748
+  (3.5ms) DELETE FROM "orders";
749
+  (73.4ms) DELETE FROM sqlite_sequence where name = 'orders';
750
+  (1.9ms) DELETE FROM "opay_payments";
751
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
752
+  (1.4ms) DELETE FROM "orders";
753
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
754
+  (2.0ms) DELETE FROM "opay_payments";
755
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
756
+  (1.6ms) DELETE FROM "orders";
757
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
758
+  (0.1ms) begin transaction
759
+ SQL (18.0ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00]]
760
+  (1.4ms) commit transaction
761
+  (0.1ms) begin transaction
762
+ Binary data inserted for `string` type on column `session_id`
763
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00]]
764
+  (1.7ms) commit transaction
765
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
766
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
767
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
768
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
769
+  (0.0ms) begin transaction
770
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:47:34.833656' WHERE "opay_payments"."id" = 1
771
+  (43.0ms) commit transaction
772
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
773
+  (3.6ms) DELETE FROM "opay_payments";
774
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
775
+  (1.5ms) DELETE FROM "orders";
776
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'orders';
777
+  (0.1ms) begin transaction
778
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00]]
779
+  (32.3ms) commit transaction
780
+  (0.0ms) begin transaction
781
+ Binary data inserted for `string` type on column `session_id`
782
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00]]
783
+  (2.2ms) commit transaction
784
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
785
+  (2.5ms) DELETE FROM "opay_payments";
786
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
787
+  (1.6ms) DELETE FROM "orders";
788
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
789
+  (0.1ms) begin transaction
790
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00]]
791
+  (1.8ms) commit transaction
792
+  (0.0ms) begin transaction
793
+ Binary data inserted for `string` type on column `session_id`
794
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:47:34 UTC +00:00]]
795
+  (1.6ms) commit transaction
796
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
797
+  (1.7ms) DELETE FROM "opay_payments";
798
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
799
+  (1.4ms) DELETE FROM "orders";
800
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
801
+  (1.9ms) DELETE FROM "opay_payments";
802
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
803
+  (2.3ms) DELETE FROM "orders";
804
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'orders';
805
+  (1.6ms) DELETE FROM "opay_payments";
806
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
807
+  (1.3ms) DELETE FROM "orders";
808
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
809
+  (0.1ms) begin transaction
810
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:47:35 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:47:35 UTC +00:00]]
811
+  (1.5ms) commit transaction
812
+  (0.1ms) begin transaction
813
+ Binary data inserted for `string` type on column `session_id`
814
+ SQL (0.8ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:47:35 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:47:35 UTC +00:00]]
815
+  (2.2ms) commit transaction
816
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
817
+  (2.0ms) DELETE FROM "opay_payments";
818
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
819
+  (1.5ms) DELETE FROM "orders";
820
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
821
+  (2.2ms) DELETE FROM "opay_payments";
822
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
823
+  (1.2ms) DELETE FROM "orders";
824
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
825
+  (1.6ms) DELETE FROM "opay_payments";
826
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
827
+  (2.0ms) DELETE FROM "orders";
828
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
829
+  (0.1ms) begin transaction
830
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:47:35 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:47:35 UTC +00:00]]
831
+  (1.4ms) commit transaction
832
+  (1.7ms) DELETE FROM "opay_payments";
833
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
834
+  (1.3ms) DELETE FROM "orders";
835
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
836
+  (0.1ms) begin transaction
837
+ SQL (5.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
838
+  (2.0ms) commit transaction
839
+  (0.1ms) begin transaction
840
+ Binary data inserted for `string` type on column `session_id`
841
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
842
+  (1.7ms) commit transaction
843
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
844
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
845
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
846
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
847
+  (0.1ms) begin transaction
848
+  (0.6ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:48:10.248556' WHERE "opay_payments"."id" = 1
849
+  (1.8ms) commit transaction
850
+  (1.8ms) DELETE FROM "opay_payments";
851
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
852
+  (1.3ms) DELETE FROM "orders";
853
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'orders';
854
+  (0.1ms) begin transaction
855
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
856
+  (1.5ms) commit transaction
857
+  (0.0ms) begin transaction
858
+ Binary data inserted for `string` type on column `session_id`
859
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
860
+  (1.7ms) commit transaction
861
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
862
+  (1.7ms) DELETE FROM "opay_payments";
863
+  (18.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
864
+  (1.6ms) DELETE FROM "orders";
865
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
866
+  (0.1ms) begin transaction
867
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
868
+  (2.0ms) commit transaction
869
+  (0.0ms) begin transaction
870
+ Binary data inserted for `string` type on column `session_id`
871
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
872
+  (2.1ms) commit transaction
873
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
874
+  (1.9ms) DELETE FROM "opay_payments";
875
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
876
+  (1.5ms) DELETE FROM "orders";
877
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
878
+  (1.9ms) DELETE FROM "opay_payments";
879
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
880
+  (2.5ms) DELETE FROM "orders";
881
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
882
+  (2.0ms) DELETE FROM "opay_payments";
883
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
884
+  (1.4ms) DELETE FROM "orders";
885
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
886
+  (0.1ms) begin transaction
887
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
888
+  (15.9ms) commit transaction
889
+  (0.1ms) begin transaction
890
+ Binary data inserted for `string` type on column `session_id`
891
+ SQL (0.9ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
892
+  (1.8ms) commit transaction
893
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
894
+  (1.8ms) DELETE FROM "opay_payments";
895
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
896
+  (1.4ms) DELETE FROM "orders";
897
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
898
+  (1.9ms) DELETE FROM "opay_payments";
899
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
900
+  (1.4ms) DELETE FROM "orders";
901
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
902
+  (1.9ms) DELETE FROM "opay_payments";
903
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
904
+  (1.4ms) DELETE FROM "orders";
905
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
906
+  (0.1ms) begin transaction
907
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:48:10 UTC +00:00]]
908
+  (1.4ms) commit transaction
909
+  (1.5ms) DELETE FROM "opay_payments";
910
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
911
+  (1.3ms) DELETE FROM "orders";
912
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
913
+  (2.2ms) DELETE FROM "opay_payments";
914
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
915
+  (1.6ms) DELETE FROM "orders";
916
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
917
+  (119.0ms) DELETE FROM "opay_payments";
918
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
919
+  (34.1ms) DELETE FROM "orders";
920
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
921
+  (0.1ms) begin transaction
922
+ SQL (5.8ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:48:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:48:11 UTC +00:00]]
923
+  (5.7ms) commit transaction
924
+  (2.0ms) DELETE FROM "opay_payments";
925
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
926
+  (5.2ms) DELETE FROM "orders";
927
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'orders';
928
+  (0.1ms) begin transaction
929
+ SQL (6.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00]]
930
+  (1.8ms) commit transaction
931
+  (0.1ms) begin transaction
932
+ Binary data inserted for `string` type on column `session_id`
933
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00]]
934
+  (1.8ms) commit transaction
935
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
936
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
937
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
938
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
939
+  (0.0ms) begin transaction
940
+  (0.5ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:48:17.955545' WHERE "opay_payments"."id" = 1
941
+  (1.7ms) commit transaction
942
+  (1.6ms) DELETE FROM "opay_payments";
943
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
944
+  (1.3ms) DELETE FROM "orders";
945
+  (21.8ms) DELETE FROM sqlite_sequence where name = 'orders';
946
+  (0.1ms) begin transaction
947
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00]]
948
+  (2.0ms) commit transaction
949
+  (0.0ms) begin transaction
950
+ Binary data inserted for `string` type on column `session_id`
951
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:17 UTC +00:00]]
952
+  (1.5ms) commit transaction
953
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
954
+  (2.4ms) DELETE FROM "opay_payments";
955
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
956
+  (1.4ms) DELETE FROM "orders";
957
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
958
+  (0.1ms) begin transaction
959
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00]]
960
+  (1.4ms) commit transaction
961
+  (0.0ms) begin transaction
962
+ Binary data inserted for `string` type on column `session_id`
963
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00]]
964
+  (1.2ms) commit transaction
965
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
966
+  (1.6ms) DELETE FROM "opay_payments";
967
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
968
+  (1.3ms) DELETE FROM "orders";
969
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
970
+  (2.2ms) DELETE FROM "opay_payments";
971
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
972
+  (1.4ms) DELETE FROM "orders";
973
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
974
+  (1.8ms) DELETE FROM "opay_payments";
975
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
976
+  (1.4ms) DELETE FROM "orders";
977
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
978
+  (0.1ms) begin transaction
979
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00]]
980
+  (40.2ms) commit transaction
981
+  (0.1ms) begin transaction
982
+ Binary data inserted for `string` type on column `session_id`
983
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00]]
984
+  (1.5ms) commit transaction
985
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
986
+  (1.9ms) DELETE FROM "opay_payments";
987
+  (2.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
988
+  (1.5ms) DELETE FROM "orders";
989
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'orders';
990
+  (2.1ms) DELETE FROM "opay_payments";
991
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
992
+  (1.6ms) DELETE FROM "orders";
993
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
994
+  (1.9ms) DELETE FROM "opay_payments";
995
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
996
+  (1.4ms) DELETE FROM "orders";
997
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'orders';
998
+  (0.1ms) begin transaction
999
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:48:18 UTC +00:00]]
1000
+  (1.4ms) commit transaction
1001
+  (1.8ms) DELETE FROM "opay_payments";
1002
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1003
+  (1.8ms) DELETE FROM "orders";
1004
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1005
+  (0.1ms) begin transaction
1006
+ SQL (6.0ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1007
+  (2.0ms) commit transaction
1008
+  (0.1ms) begin transaction
1009
+ Binary data inserted for `string` type on column `session_id`
1010
+ SQL (0.8ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1011
+  (1.7ms) commit transaction
1012
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1013
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1014
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1015
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1016
+  (0.0ms) begin transaction
1017
+  (0.4ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:48:26.424980' WHERE "opay_payments"."id" = 1
1018
+  (1.7ms) commit transaction
1019
+ siemaaaaaaa
1020
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
1021
+  (1.6ms) DELETE FROM "opay_payments";
1022
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1023
+  (1.3ms) DELETE FROM "orders";
1024
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'orders';
1025
+  (0.1ms) begin transaction
1026
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1027
+  (1.5ms) commit transaction
1028
+  (0.0ms) begin transaction
1029
+ Binary data inserted for `string` type on column `session_id`
1030
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1031
+  (1.3ms) commit transaction
1032
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1033
+  (1.7ms) DELETE FROM "opay_payments";
1034
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1035
+  (1.5ms) DELETE FROM "orders";
1036
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
1037
+  (0.1ms) begin transaction
1038
+ SQL (1.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1039
+  (1.5ms) commit transaction
1040
+  (0.0ms) begin transaction
1041
+ Binary data inserted for `string` type on column `session_id`
1042
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1043
+  (1.4ms) commit transaction
1044
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1045
+  (1.7ms) DELETE FROM "opay_payments";
1046
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1047
+  (1.6ms) DELETE FROM "orders";
1048
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
1049
+  (1.8ms) DELETE FROM "opay_payments";
1050
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1051
+  (2.1ms) DELETE FROM "orders";
1052
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1053
+  (1.9ms) DELETE FROM "opay_payments";
1054
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1055
+  (1.4ms) DELETE FROM "orders";
1056
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1057
+  (0.1ms) begin transaction
1058
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1059
+  (1.8ms) commit transaction
1060
+  (0.1ms) begin transaction
1061
+ Binary data inserted for `string` type on column `session_id`
1062
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1063
+  (1.8ms) commit transaction
1064
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1065
+  (1.9ms) DELETE FROM "opay_payments";
1066
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1067
+  (1.5ms) DELETE FROM "orders";
1068
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1069
+  (2.7ms) DELETE FROM "opay_payments";
1070
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1071
+  (1.5ms) DELETE FROM "orders";
1072
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1073
+  (2.0ms) DELETE FROM "opay_payments";
1074
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1075
+  (1.6ms) DELETE FROM "orders";
1076
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1077
+  (0.1ms) begin transaction
1078
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:48:26 UTC +00:00]]
1079
+  (1.7ms) commit transaction
1080
+  (1.9ms) DELETE FROM "opay_payments";
1081
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1082
+  (1.5ms) DELETE FROM "orders";
1083
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1084
+  (0.1ms) begin transaction
1085
+ SQL (6.1ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1086
+  (1.9ms) commit transaction
1087
+  (0.1ms) begin transaction
1088
+ Binary data inserted for `string` type on column `session_id`
1089
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1090
+  (1.4ms) commit transaction
1091
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1092
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1093
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1094
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1095
+  (0.0ms) begin transaction
1096
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:48:34.860801' WHERE "opay_payments"."id" = 1
1097
+  (1.2ms) commit transaction
1098
+ siemaaaaaaa
1099
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
1100
+  (1.5ms) DELETE FROM "opay_payments";
1101
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1102
+  (1.3ms) DELETE FROM "orders";
1103
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'orders';
1104
+  (0.1ms) begin transaction
1105
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1106
+  (1.3ms) commit transaction
1107
+  (0.0ms) begin transaction
1108
+ Binary data inserted for `string` type on column `session_id`
1109
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1110
+  (1.2ms) commit transaction
1111
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1112
+  (1.6ms) DELETE FROM "opay_payments";
1113
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1114
+  (1.3ms) DELETE FROM "orders";
1115
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
1116
+  (0.0ms) begin transaction
1117
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1118
+  (1.3ms) commit transaction
1119
+  (0.0ms) begin transaction
1120
+ Binary data inserted for `string` type on column `session_id`
1121
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1122
+  (1.3ms) commit transaction
1123
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1124
+  (1.5ms) DELETE FROM "opay_payments";
1125
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1126
+  (1.4ms) DELETE FROM "orders";
1127
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
1128
+  (2.1ms) DELETE FROM "opay_payments";
1129
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1130
+  (1.5ms) DELETE FROM "orders";
1131
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1132
+  (1.7ms) DELETE FROM "opay_payments";
1133
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1134
+  (1.4ms) DELETE FROM "orders";
1135
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1136
+  (0.1ms) begin transaction
1137
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1138
+  (1.6ms) commit transaction
1139
+  (0.1ms) begin transaction
1140
+ Binary data inserted for `string` type on column `session_id`
1141
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:34 UTC +00:00]]
1142
+  (1.3ms) commit transaction
1143
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1144
+  (1.6ms) DELETE FROM "opay_payments";
1145
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1146
+  (1.5ms) DELETE FROM "orders";
1147
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
1148
+  (2.5ms) DELETE FROM "opay_payments";
1149
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1150
+  (1.3ms) DELETE FROM "orders";
1151
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1152
+  (1.6ms) DELETE FROM "opay_payments";
1153
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1154
+  (1.3ms) DELETE FROM "orders";
1155
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1156
+  (0.1ms) begin transaction
1157
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:48:35 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:48:35 UTC +00:00]]
1158
+  (1.4ms) commit transaction
1159
+  (1.5ms) DELETE FROM "opay_payments";
1160
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1161
+  (1.3ms) DELETE FROM "orders";
1162
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
1163
+  (0.1ms) begin transaction
1164
+ SQL (6.1ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:41 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:41 UTC +00:00]]
1165
+  (1.4ms) commit transaction
1166
+  (0.1ms) begin transaction
1167
+ Binary data inserted for `string` type on column `session_id`
1168
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:41 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:41 UTC +00:00]]
1169
+  (1.6ms) commit transaction
1170
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1171
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1172
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1173
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1174
+  (0.0ms) begin transaction
1175
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:48:42.010119' WHERE "opay_payments"."id" = 1
1176
+  (1.3ms) commit transaction
1177
+  (1.5ms) DELETE FROM "opay_payments";
1178
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1179
+  (1.4ms) DELETE FROM "orders";
1180
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';
1181
+  (0.1ms) begin transaction
1182
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00]]
1183
+  (1.5ms) commit transaction
1184
+  (0.0ms) begin transaction
1185
+ Binary data inserted for `string` type on column `session_id`
1186
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00]]
1187
+  (1.4ms) commit transaction
1188
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1189
+  (1.6ms) DELETE FROM "opay_payments";
1190
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1191
+  (1.3ms) DELETE FROM "orders";
1192
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1193
+  (0.1ms) begin transaction
1194
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00]]
1195
+  (1.4ms) commit transaction
1196
+  (0.0ms) begin transaction
1197
+ Binary data inserted for `string` type on column `session_id`
1198
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00]]
1199
+  (1.4ms) commit transaction
1200
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1201
+  (2.0ms) DELETE FROM "opay_payments";
1202
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1203
+  (1.3ms) DELETE FROM "orders";
1204
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1205
+  (1.8ms) DELETE FROM "opay_payments";
1206
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1207
+  (1.3ms) DELETE FROM "orders";
1208
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1209
+  (1.6ms) DELETE FROM "opay_payments";
1210
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1211
+  (1.4ms) DELETE FROM "orders";
1212
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1213
+  (0.1ms) begin transaction
1214
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00]]
1215
+  (1.7ms) commit transaction
1216
+  (0.1ms) begin transaction
1217
+ Binary data inserted for `string` type on column `session_id`
1218
+ SQL (0.8ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00]]
1219
+  (1.3ms) commit transaction
1220
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1221
+  (1.9ms) DELETE FROM "opay_payments";
1222
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1223
+  (1.4ms) DELETE FROM "orders";
1224
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
1225
+  (1.8ms) DELETE FROM "opay_payments";
1226
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1227
+  (1.3ms) DELETE FROM "orders";
1228
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1229
+  (1.7ms) DELETE FROM "opay_payments";
1230
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1231
+  (1.5ms) DELETE FROM "orders";
1232
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1233
+  (0.1ms) begin transaction
1234
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:48:42 UTC +00:00]]
1235
+  (1.4ms) commit transaction
1236
+  (1.5ms) DELETE FROM "opay_payments";
1237
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1238
+  (1.5ms) DELETE FROM "orders";
1239
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
1240
+  (0.1ms) begin transaction
1241
+ SQL (7.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:49:28 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:49:28 UTC +00:00]]
1242
+  (2.1ms) commit transaction
1243
+  (0.1ms) begin transaction
1244
+ Binary data inserted for `string` type on column `session_id`
1245
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:49:28 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:49:28 UTC +00:00]]
1246
+  (1.5ms) commit transaction
1247
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1248
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1249
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1250
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1251
+  (0.0ms) begin transaction
1252
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:49:29.050671' WHERE "opay_payments"."id" = 1
1253
+  (1.2ms) commit transaction
1254
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
1255
+  (1.6ms) DELETE FROM "opay_payments";
1256
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1257
+  (1.5ms) DELETE FROM "orders";
1258
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1259
+  (0.1ms) begin transaction
1260
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00]]
1261
+  (1.5ms) commit transaction
1262
+  (0.0ms) begin transaction
1263
+ Binary data inserted for `string` type on column `session_id`
1264
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00]]
1265
+  (1.3ms) commit transaction
1266
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1267
+  (1.7ms) DELETE FROM "opay_payments";
1268
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1269
+  (1.3ms) DELETE FROM "orders";
1270
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
1271
+  (0.0ms) begin transaction
1272
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00]]
1273
+  (1.4ms) commit transaction
1274
+  (0.0ms) begin transaction
1275
+ Binary data inserted for `string` type on column `session_id`
1276
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00]]
1277
+  (1.4ms) commit transaction
1278
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1279
+  (1.8ms) DELETE FROM "opay_payments";
1280
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1281
+  (1.3ms) DELETE FROM "orders";
1282
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1283
+  (2.2ms) DELETE FROM "opay_payments";
1284
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1285
+  (1.5ms) DELETE FROM "orders";
1286
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1287
+  (1.8ms) DELETE FROM "opay_payments";
1288
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1289
+  (1.3ms) DELETE FROM "orders";
1290
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1291
+  (0.1ms) begin transaction
1292
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00]]
1293
+  (1.6ms) commit transaction
1294
+  (0.1ms) begin transaction
1295
+ Binary data inserted for `string` type on column `session_id`
1296
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00]]
1297
+  (5.0ms) commit transaction
1298
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1299
+  (2.3ms) DELETE FROM "opay_payments";
1300
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1301
+  (1.5ms) DELETE FROM "orders";
1302
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1303
+  (2.2ms) DELETE FROM "opay_payments";
1304
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1305
+  (1.4ms) DELETE FROM "orders";
1306
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1307
+  (1.7ms) DELETE FROM "opay_payments";
1308
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1309
+  (1.5ms) DELETE FROM "orders";
1310
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1311
+  (0.1ms) begin transaction
1312
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:49:29 UTC +00:00]]
1313
+  (1.7ms) commit transaction
1314
+  (2.3ms) DELETE FROM "opay_payments";
1315
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1316
+  (1.5ms) DELETE FROM "orders";
1317
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1318
+  (0.1ms) begin transaction
1319
+ SQL (84.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:57:59 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:57:59 UTC +00:00]]
1320
+  (1.6ms) commit transaction
1321
+  (0.1ms) begin transaction
1322
+ Binary data inserted for `string` type on column `session_id`
1323
+ SQL (60.9ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:58:00 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:58:00 UTC +00:00]]
1324
+  (43.2ms) commit transaction
1325
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1326
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1327
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1328
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1329
+  (0.0ms) begin transaction
1330
+  (0.6ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:58:00.955871' WHERE "opay_payments"."id" = 1
1331
+  (29.0ms) commit transaction
1332
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
1333
+  (40.4ms) DELETE FROM "opay_payments";
1334
+  (6.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1335
+  (2.8ms) DELETE FROM "orders";
1336
+  (2.7ms) DELETE FROM sqlite_sequence where name = 'orders';
1337
+  (0.1ms) begin transaction
1338
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00]]
1339
+  (3.5ms) commit transaction
1340
+  (0.3ms) begin transaction
1341
+ Binary data inserted for `string` type on column `session_id`
1342
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00]]
1343
+  (5.8ms) commit transaction
1344
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1345
+  (2.2ms) DELETE FROM "opay_payments";
1346
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1347
+  (4.7ms) DELETE FROM "orders";
1348
+  (4.9ms) DELETE FROM sqlite_sequence where name = 'orders';
1349
+  (0.1ms) begin transaction
1350
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00]]
1351
+  (13.0ms) commit transaction
1352
+  (0.1ms) begin transaction
1353
+ Binary data inserted for `string` type on column `session_id`
1354
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00]]
1355
+  (8.7ms) commit transaction
1356
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1357
+  (1.9ms) DELETE FROM "opay_payments";
1358
+  (2.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1359
+  (1.4ms) DELETE FROM "orders";
1360
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
1361
+  (1.8ms) DELETE FROM "opay_payments";
1362
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1363
+  (5.6ms) DELETE FROM "orders";
1364
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1365
+  (72.6ms) DELETE FROM "opay_payments";
1366
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1367
+  (4.3ms) DELETE FROM "orders";
1368
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'orders';
1369
+  (0.1ms) begin transaction
1370
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00]]
1371
+  (1.4ms) commit transaction
1372
+  (0.1ms) begin transaction
1373
+ Binary data inserted for `string` type on column `session_id`
1374
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:58:01 UTC +00:00]]
1375
+  (1.6ms) commit transaction
1376
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1377
+  (71.4ms) DELETE FROM "opay_payments";
1378
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1379
+  (1.3ms) DELETE FROM "orders";
1380
+  (5.9ms) DELETE FROM sqlite_sequence where name = 'orders';
1381
+  (53.5ms) DELETE FROM "opay_payments";
1382
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1383
+  (1.8ms) DELETE FROM "orders";
1384
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1385
+  (173.1ms) DELETE FROM "opay_payments";
1386
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1387
+  (2.6ms) DELETE FROM "orders";
1388
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'orders';
1389
+  (0.1ms) begin transaction
1390
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:58:02 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:58:02 UTC +00:00]]
1391
+  (2.0ms) commit transaction
1392
+  (2.0ms) DELETE FROM "opay_payments";
1393
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1394
+  (1.7ms) DELETE FROM "orders";
1395
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1396
+  (0.1ms) begin transaction
1397
+ SQL (41.8ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:11 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:11 UTC +00:00]]
1398
+  (1.7ms) commit transaction
1399
+  (0.1ms) begin transaction
1400
+ Binary data inserted for `string` type on column `session_id`
1401
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00]]
1402
+  (1.8ms) commit transaction
1403
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1404
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1405
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1406
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1407
+  (0.0ms) begin transaction
1408
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:59:12.596887' WHERE "opay_payments"."id" = 1
1409
+  (1.7ms) commit transaction
1410
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
1411
+  (1.8ms) DELETE FROM "opay_payments";
1412
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1413
+  (1.7ms) DELETE FROM "orders";
1414
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1415
+  (0.1ms) begin transaction
1416
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00]]
1417
+  (1.8ms) commit transaction
1418
+  (0.0ms) begin transaction
1419
+ Binary data inserted for `string` type on column `session_id`
1420
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00]]
1421
+  (1.6ms) commit transaction
1422
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1423
+  (1.9ms) DELETE FROM "opay_payments";
1424
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1425
+  (1.5ms) DELETE FROM "orders";
1426
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1427
+  (0.0ms) begin transaction
1428
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00]]
1429
+  (1.7ms) commit transaction
1430
+  (0.0ms) begin transaction
1431
+ Binary data inserted for `string` type on column `session_id`
1432
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00]]
1433
+  (1.6ms) commit transaction
1434
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1435
+  (1.9ms) DELETE FROM "opay_payments";
1436
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1437
+  (1.6ms) DELETE FROM "orders";
1438
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
1439
+  (2.4ms) DELETE FROM "opay_payments";
1440
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1441
+  (1.2ms) DELETE FROM "orders";
1442
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1443
+  (1.7ms) DELETE FROM "opay_payments";
1444
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1445
+  (1.3ms) DELETE FROM "orders";
1446
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1447
+  (0.1ms) begin transaction
1448
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:12 UTC +00:00]]
1449
+  (1.7ms) commit transaction
1450
+  (0.1ms) begin transaction
1451
+ Binary data inserted for `string` type on column `session_id`
1452
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:13 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:13 UTC +00:00]]
1453
+  (1.6ms) commit transaction
1454
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1455
+  (2.4ms) DELETE FROM "opay_payments";
1456
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1457
+  (2.1ms) DELETE FROM "orders";
1458
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';
1459
+  (2.4ms) DELETE FROM "opay_payments";
1460
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1461
+  (1.6ms) DELETE FROM "orders";
1462
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1463
+  (2.4ms) DELETE FROM "opay_payments";
1464
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1465
+  (1.3ms) DELETE FROM "orders";
1466
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1467
+  (0.1ms) begin transaction
1468
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:59:13 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:59:13 UTC +00:00]]
1469
+  (2.0ms) commit transaction
1470
+  (1.9ms) DELETE FROM "opay_payments";
1471
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1472
+  (1.5ms) DELETE FROM "orders";
1473
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1474
+  (0.1ms) begin transaction
1475
+ SQL (5.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1476
+  (2.2ms) commit transaction
1477
+  (0.1ms) begin transaction
1478
+ Binary data inserted for `string` type on column `session_id`
1479
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1480
+  (2.0ms) commit transaction
1481
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1482
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1483
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1484
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1485
+  (0.0ms) begin transaction
1486
+  (0.4ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 14:59:29.558080' WHERE "opay_payments"."id" = 1
1487
+  (1.7ms) commit transaction
1488
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
1489
+  (1.8ms) DELETE FROM "opay_payments";
1490
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1491
+  (1.4ms) DELETE FROM "orders";
1492
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
1493
+  (0.0ms) begin transaction
1494
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1495
+  (2.3ms) commit transaction
1496
+  (0.0ms) begin transaction
1497
+ Binary data inserted for `string` type on column `session_id`
1498
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1499
+  (1.8ms) commit transaction
1500
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1501
+  (2.0ms) DELETE FROM "opay_payments";
1502
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1503
+  (1.6ms) DELETE FROM "orders";
1504
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1505
+  (0.1ms) begin transaction
1506
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1507
+  (1.7ms) commit transaction
1508
+  (0.0ms) begin transaction
1509
+ Binary data inserted for `string` type on column `session_id`
1510
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1511
+  (1.7ms) commit transaction
1512
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1513
+  (1.7ms) DELETE FROM "opay_payments";
1514
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1515
+  (2.2ms) DELETE FROM "orders";
1516
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1517
+  (1.9ms) DELETE FROM "opay_payments";
1518
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1519
+  (2.0ms) DELETE FROM "orders";
1520
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1521
+  (2.0ms) DELETE FROM "opay_payments";
1522
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1523
+  (1.5ms) DELETE FROM "orders";
1524
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1525
+  (0.1ms) begin transaction
1526
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1527
+  (2.2ms) commit transaction
1528
+  (0.1ms) begin transaction
1529
+ Binary data inserted for `string` type on column `session_id`
1530
+ SQL (2.9ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1531
+  (2.7ms) commit transaction
1532
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1533
+  (20.4ms) DELETE FROM "opay_payments";
1534
+  (2.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1535
+  (1.9ms) DELETE FROM "orders";
1536
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'orders';
1537
+  (2.8ms) DELETE FROM "opay_payments";
1538
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1539
+  (1.8ms) DELETE FROM "orders";
1540
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1541
+  (17.7ms) DELETE FROM "opay_payments";
1542
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1543
+  (1.7ms) DELETE FROM "orders";
1544
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1545
+  (0.1ms) begin transaction
1546
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 14:59:29 UTC +00:00]]
1547
+  (2.1ms) commit transaction
1548
+  (1.8ms) DELETE FROM "opay_payments";
1549
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1550
+  (1.5ms) DELETE FROM "orders";
1551
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'orders';
1552
+  (0.1ms) begin transaction
1553
+ SQL (233.9ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 15:00:51 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 15:00:51 UTC +00:00]]
1554
+  (133.9ms) commit transaction
1555
+  (0.1ms) begin transaction
1556
+ Binary data inserted for `string` type on column `session_id`
1557
+ SQL (209.9ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 15:00:52 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 15:00:52 UTC +00:00]]
1558
+  (183.3ms) commit transaction
1559
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1560
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
1561
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1562
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1563
+  (0.0ms) begin transaction
1564
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-23 15:00:54.735917' WHERE "opay_payments"."id" = 1
1565
+  (943.2ms) commit transaction
1566
+ Opay::Payment Load (415.9ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
1567
+  (707.9ms) DELETE FROM "opay_payments";
1568
+  (39.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1569
+  (115.5ms) DELETE FROM "orders";
1570
+  (4.5ms) DELETE FROM sqlite_sequence where name = 'orders';
1571
+  (0.1ms) begin transaction
1572
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 15:00:57 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 15:00:57 UTC +00:00]]
1573
+  (23.1ms) commit transaction
1574
+  (0.1ms) begin transaction
1575
+ Binary data inserted for `string` type on column `session_id`
1576
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 15:00:57 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 15:00:57 UTC +00:00]]
1577
+  (99.1ms) commit transaction
1578
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1579
+  (53.1ms) DELETE FROM "opay_payments";
1580
+  (72.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1581
+  (324.0ms) DELETE FROM "orders";
1582
+  (731.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1583
+  (0.1ms) begin transaction
1584
+ SQL (1.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 15:00:58 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 15:00:58 UTC +00:00]]
1585
+  (637.7ms) commit transaction
1586
+  (0.1ms) begin transaction
1587
+ Binary data inserted for `string` type on column `session_id`
1588
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 15:00:59 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 15:00:59 UTC +00:00]]
1589
+  (352.0ms) commit transaction
1590
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1591
+  (377.1ms) DELETE FROM "opay_payments";
1592
+  (187.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1593
+  (162.9ms) DELETE FROM "orders";
1594
+  (482.3ms) DELETE FROM sqlite_sequence where name = 'orders';
1595
+  (255.1ms) DELETE FROM "opay_payments";
1596
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1597
+  (386.7ms) DELETE FROM "orders";
1598
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
1599
+  (670.7ms) DELETE FROM "opay_payments";
1600
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1601
+  (737.9ms) DELETE FROM "orders";
1602
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
1603
+  (0.1ms) begin transaction
1604
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Tue, 23 Apr 2013 15:01:03 UTC +00:00], ["name", "first order"], ["updated_at", Tue, 23 Apr 2013 15:01:03 UTC +00:00]]
1605
+  (541.5ms) commit transaction
1606
+  (0.1ms) begin transaction
1607
+ Binary data inserted for `string` type on column `session_id`
1608
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Tue, 23 Apr 2013 15:01:04 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Tue, 23 Apr 2013 15:01:04 UTC +00:00]]
1609
+  (243.8ms) commit transaction
1610
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
1611
+  (353.2ms) DELETE FROM "opay_payments";
1612
+  (275.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1613
+  (38.4ms) DELETE FROM "orders";
1614
+  (28.9ms) DELETE FROM sqlite_sequence where name = 'orders';
1615
+  (135.7ms) DELETE FROM "opay_payments";
1616
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1617
+  (85.9ms) DELETE FROM "orders";
1618
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
1619
+  (80.8ms) DELETE FROM "opay_payments";
1620
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1621
+  (9.2ms) DELETE FROM "orders";
1622
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
1623
+  (0.1ms) begin transaction
1624
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Tue, 23 Apr 2013 15:01:05 UTC +00:00], ["name", nil], ["updated_at", Tue, 23 Apr 2013 15:01:05 UTC +00:00]]
1625
+  (4.7ms) commit transaction
1626
+  (10.5ms) DELETE FROM "opay_payments";
1627
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
1628
+  (1.6ms) DELETE FROM "orders";
1629
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';