opay 1.0.3 → 1.0.4

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.
@@ -32,13 +32,12 @@ module Opay
32
32
  options[:pay_type] = 't' if Opay.config.test_mode
33
33
 
34
34
  sig_string = ''
35
- %w( pos_id pay_type session_id pos_auth_key amount desc desc2 trsDesc order_id first_name last_name payback_login street street_hn street_an city post_code country email phone language client_ip ts ).each do |key|
35
+ %w( pos_id pay_type session_id pos_auth_key amount desc desc2 trsDesc order_id first_name last_name payback_login street street_hn street_an city post_code country email phone language lient_ip ts ).each do |key|
36
36
  sig_string += options[key.to_sym].to_s if options.has_key?(key.to_sym)
37
37
  end
38
38
 
39
39
  options[:sig] = Providers::Payu.create_sig(sig_string)
40
40
 
41
-
42
41
  fields = options.map { |key, val| @template.hidden_field_tag(key, val) }.join("\n")
43
42
  js = "<script type=\"text/javascript\"><!-- document.forms['payu_payment_form_#{object.id}'].js.value = 1; --></script>"
44
43
 
data/lib/opay/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Opay
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
Binary file
@@ -5105,3 +5105,699 @@ Binary data inserted for `string` type on column `session_id`
5105
5105
   (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5106
5106
   (1.7ms) DELETE FROM "orders";
5107
5107
   (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5108
+  (230.8ms) DELETE FROM "opay_payments";
5109
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5110
+  (26.5ms) DELETE FROM "orders";
5111
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5112
+  (31.9ms) DELETE FROM "opay_payments";
5113
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5114
+  (3.7ms) DELETE FROM "orders";
5115
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5116
+  (0.1ms) begin transaction
5117
+ SQL (135.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:09:05 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:09:05 UTC +00:00]]
5118
+  (114.6ms) commit transaction
5119
+  (0.1ms) begin transaction
5120
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5121
+ Binary data inserted for `string` type on column `session_id`
5122
+ 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", Wed, 24 Apr 2013 14:09:06 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:09:06 UTC +00:00]]
5123
+  (87.2ms) commit transaction
5124
+ 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
5125
+  (23.8ms) DELETE FROM "opay_payments";
5126
+  (7.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5127
+  (2.4ms) DELETE FROM "orders";
5128
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
5129
+  (0.1ms) begin transaction
5130
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:09:07 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:09:07 UTC +00:00]]
5131
+  (1.5ms) commit transaction
5132
+  (0.0ms) begin transaction
5133
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5134
+ Binary data inserted for `string` type on column `session_id`
5135
+ 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", Wed, 24 Apr 2013 14:09:07 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:09:07 UTC +00:00]]
5136
+  (25.6ms) commit transaction
5137
+ 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
5138
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
5139
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5140
+ 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
5141
+  (0.4ms) begin transaction
5142
+  (0.5ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:09:07.383703' WHERE "opay_payments"."id" = 1
5143
+  (1.7ms) commit transaction
5144
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
5145
+  (458.3ms) DELETE FROM "opay_payments";
5146
+  (2.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5147
+  (2.2ms) DELETE FROM "orders";
5148
+  (49.9ms) DELETE FROM sqlite_sequence where name = 'orders';
5149
+  (0.1ms) begin transaction
5150
+ SQL (1.0ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:09:07 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:09:07 UTC +00:00]]
5151
+  (13.3ms) commit transaction
5152
+  (0.0ms) begin transaction
5153
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5154
+ Binary data inserted for `string` type on column `session_id`
5155
+ 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", Wed, 24 Apr 2013 14:09:07 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:09:07 UTC +00:00]]
5156
+  (1.5ms) commit transaction
5157
+ 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
5158
+  (13.4ms) DELETE FROM "opay_payments";
5159
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5160
+  (1.8ms) DELETE FROM "orders";
5161
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
5162
+  (1.8ms) DELETE FROM "opay_payments";
5163
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5164
+  (1.4ms) DELETE FROM "orders";
5165
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5166
+  (1.7ms) DELETE FROM "opay_payments";
5167
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5168
+  (1.6ms) DELETE FROM "orders";
5169
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'orders';
5170
+  (43.6ms) DELETE FROM "opay_payments";
5171
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5172
+  (1.8ms) DELETE FROM "orders";
5173
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5174
+  (0.1ms) begin transaction
5175
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00], ["name", nil], ["updated_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00]]
5176
+  (30.1ms) commit transaction
5177
+  (13.5ms) DELETE FROM "opay_payments";
5178
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5179
+  (1.6ms) DELETE FROM "orders";
5180
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
5181
+  (2.3ms) DELETE FROM "opay_payments";
5182
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5183
+  (2.2ms) DELETE FROM "orders";
5184
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5185
+  (0.1ms) begin transaction
5186
+ SQL (1.1ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00]]
5187
+  (1.8ms) commit transaction
5188
+ 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
5189
+  (0.0ms) begin transaction
5190
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5191
+ Binary data inserted for `string` type on column `session_id`
5192
+ 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", Wed, 24 Apr 2013 14:09:08 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00]]
5193
+  (23.8ms) commit transaction
5194
+  (16.0ms) DELETE FROM "opay_payments";
5195
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5196
+  (8.4ms) DELETE FROM "orders";
5197
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5198
+  (0.1ms) begin transaction
5199
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00]]
5200
+  (38.0ms) commit transaction
5201
+ 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
5202
+  (0.0ms) begin transaction
5203
+ Order Load (0.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5204
+ Binary data inserted for `string` type on column `session_id`
5205
+ 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", Wed, 24 Apr 2013 14:09:08 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:09:08 UTC +00:00]]
5206
+  (5.2ms) commit transaction
5207
+  (7.0ms) DELETE FROM "opay_payments";
5208
+  (9.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5209
+  (46.4ms) DELETE FROM "orders";
5210
+  (26.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5211
+  (101.8ms) DELETE FROM "opay_payments";
5212
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5213
+  (201.0ms) DELETE FROM "orders";
5214
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5215
+  (1.8ms) DELETE FROM "opay_payments";
5216
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5217
+  (27.2ms) DELETE FROM "orders";
5218
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5219
+  (2.3ms) DELETE FROM "opay_payments";
5220
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5221
+  (1.6ms) DELETE FROM "orders";
5222
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5223
+  (0.1ms) begin transaction
5224
+ SQL (30.2ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:12:05 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:12:05 UTC +00:00]]
5225
+  (1.7ms) commit transaction
5226
+  (0.1ms) begin transaction
5227
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5228
+ Binary data inserted for `string` type on column `session_id`
5229
+ 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", Wed, 24 Apr 2013 14:12:05 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:12:05 UTC +00:00]]
5230
+  (1.6ms) commit transaction
5231
+ 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
5232
+  (2.2ms) DELETE FROM "opay_payments";
5233
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5234
+  (1.5ms) DELETE FROM "orders";
5235
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
5236
+  (0.1ms) begin transaction
5237
+ SQL (0.9ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5238
+  (1.7ms) commit transaction
5239
+  (0.0ms) begin transaction
5240
+ Order Load (0.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5241
+ Binary data inserted for `string` type on column `session_id`
5242
+ 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", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5243
+  (1.4ms) commit transaction
5244
+ 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
5245
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
5246
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5247
+ 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
5248
+  (0.0ms) begin transaction
5249
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:12:06.175917' WHERE "opay_payments"."id" = 1
5250
+  (1.7ms) commit transaction
5251
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
5252
+  (1.7ms) DELETE FROM "opay_payments";
5253
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5254
+  (2.3ms) DELETE FROM "orders";
5255
+  (34.9ms) DELETE FROM sqlite_sequence where name = 'orders';
5256
+  (0.1ms) begin transaction
5257
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5258
+  (2.1ms) commit transaction
5259
+  (0.0ms) begin transaction
5260
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5261
+ Binary data inserted for `string` type on column `session_id`
5262
+ 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", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5263
+  (2.0ms) commit transaction
5264
+ 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
5265
+  (2.6ms) DELETE FROM "opay_payments";
5266
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5267
+  (1.6ms) DELETE FROM "orders";
5268
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
5269
+  (2.2ms) DELETE FROM "opay_payments";
5270
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5271
+  (1.7ms) DELETE FROM "orders";
5272
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5273
+  (1.9ms) DELETE FROM "opay_payments";
5274
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5275
+  (1.4ms) DELETE FROM "orders";
5276
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5277
+  (2.0ms) DELETE FROM "opay_payments";
5278
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5279
+  (1.3ms) DELETE FROM "orders";
5280
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5281
+  (0.1ms) begin transaction
5282
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5283
+  (1.4ms) commit transaction
5284
+  (1.5ms) DELETE FROM "opay_payments";
5285
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5286
+  (1.4ms) DELETE FROM "orders";
5287
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
5288
+  (1.8ms) DELETE FROM "opay_payments";
5289
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5290
+  (2.3ms) DELETE FROM "orders";
5291
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5292
+  (0.1ms) begin transaction
5293
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5294
+  (1.7ms) commit transaction
5295
+ 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
5296
+  (0.0ms) begin transaction
5297
+ Order Load (0.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5298
+ Binary data inserted for `string` type on column `session_id`
5299
+ 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", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5300
+  (1.5ms) commit transaction
5301
+  (1.9ms) DELETE FROM "opay_payments";
5302
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5303
+  (1.7ms) DELETE FROM "orders";
5304
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5305
+  (0.1ms) begin transaction
5306
+ SQL (0.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5307
+  (1.6ms) commit transaction
5308
+ Opay::Payment Load (0.5ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
5309
+  (0.0ms) begin transaction
5310
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5311
+ Binary data inserted for `string` type on column `session_id`
5312
+ 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", Wed, 24 Apr 2013 14:12:06 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:12:06 UTC +00:00]]
5313
+  (1.3ms) commit transaction
5314
+  (1.6ms) DELETE FROM "opay_payments";
5315
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5316
+  (1.3ms) DELETE FROM "orders";
5317
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5318
+  (2.3ms) DELETE FROM "opay_payments";
5319
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5320
+  (2.2ms) DELETE FROM "orders";
5321
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5322
+  (0.1ms) begin transaction
5323
+ SQL (6.0ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:12:09 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:12:09 UTC +00:00]]
5324
+  (1.8ms) commit transaction
5325
+ 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
5326
+  (0.2ms) begin transaction
5327
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5328
+ Binary data inserted for `string` type on column `session_id`
5329
+ SQL (1.2ms) INSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Wed, 24 Apr 2013 14:12:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:12:10 UTC +00:00]]
5330
+  (36.3ms) commit transaction
5331
+  (2.3ms) DELETE FROM "opay_payments";
5332
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5333
+  (1.7ms) DELETE FROM "orders";
5334
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5335
+  (0.1ms) begin transaction
5336
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:12:10 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:12:10 UTC +00:00]]
5337
+  (1.7ms) commit transaction
5338
+ 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
5339
+  (0.0ms) begin transaction
5340
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5341
+ Binary data inserted for `string` type on column `session_id`
5342
+ 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", Wed, 24 Apr 2013 14:12:10 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:12:10 UTC +00:00]]
5343
+  (1.6ms) commit transaction
5344
+  (1.9ms) DELETE FROM "opay_payments";
5345
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5346
+  (1.5ms) DELETE FROM "orders";
5347
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5348
+ Connecting to database specified by database.yml
5349
+  (2.8ms) DELETE FROM "opay_payments";
5350
+  (44.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5351
+  (1.7ms) DELETE FROM "orders";
5352
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5353
+  (1.7ms) DELETE FROM "opay_payments";
5354
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5355
+  (1.4ms) DELETE FROM "orders";
5356
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5357
+  (1.8ms) DELETE FROM "opay_payments";
5358
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5359
+  (1.5ms) DELETE FROM "orders";
5360
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5361
+  (0.1ms) begin transaction
5362
+ SQL (67.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5363
+  (46.0ms) commit transaction
5364
+  (0.3ms) begin transaction
5365
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5366
+ Binary data inserted for `string` type on column `session_id`
5367
+ 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", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5368
+  (1.8ms) commit transaction
5369
+ 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
5370
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
5371
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5372
+ 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
5373
+  (0.0ms) begin transaction
5374
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:13:40.570474' WHERE "opay_payments"."id" = 1
5375
+  (1.6ms) commit transaction
5376
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
5377
+  (1.8ms) DELETE FROM "opay_payments";
5378
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5379
+  (1.6ms) DELETE FROM "orders";
5380
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
5381
+  (0.1ms) begin transaction
5382
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5383
+  (1.5ms) commit transaction
5384
+  (0.0ms) begin transaction
5385
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5386
+ Binary data inserted for `string` type on column `session_id`
5387
+ 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", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5388
+  (1.5ms) commit transaction
5389
+ 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
5390
+  (2.2ms) DELETE FROM "opay_payments";
5391
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5392
+  (1.5ms) DELETE FROM "orders";
5393
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5394
+  (0.1ms) begin transaction
5395
+ SQL (1.1ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5396
+  (1.4ms) commit transaction
5397
+  (0.0ms) begin transaction
5398
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5399
+ Binary data inserted for `string` type on column `session_id`
5400
+ 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", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5401
+  (1.4ms) commit transaction
5402
+ 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
5403
+  (1.9ms) DELETE FROM "opay_payments";
5404
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5405
+  (1.3ms) DELETE FROM "orders";
5406
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5407
+  (0.1ms) begin transaction
5408
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5409
+  (6.4ms) commit transaction
5410
+ 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
5411
+  (0.0ms) begin transaction
5412
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5413
+ Binary data inserted for `string` type on column `session_id`
5414
+ 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", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5415
+  (1.8ms) commit transaction
5416
+  (1.8ms) DELETE FROM "opay_payments";
5417
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5418
+  (1.5ms) DELETE FROM "orders";
5419
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5420
+  (0.1ms) begin transaction
5421
+ SQL (0.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5422
+  (1.6ms) commit transaction
5423
+ 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
5424
+  (0.0ms) begin transaction
5425
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5426
+ Binary data inserted for `string` type on column `session_id`
5427
+ 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", Wed, 24 Apr 2013 14:13:40 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:13:40 UTC +00:00]]
5428
+  (1.3ms) commit transaction
5429
+  (2.7ms) DELETE FROM "opay_payments";
5430
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5431
+  (1.6ms) DELETE FROM "orders";
5432
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5433
+  (97.3ms) DELETE FROM "opay_payments";
5434
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5435
+  (1.6ms) DELETE FROM "orders";
5436
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5437
+  (0.1ms) begin transaction
5438
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Wed, 24 Apr 2013 14:13:41 UTC +00:00], ["name", nil], ["updated_at", Wed, 24 Apr 2013 14:13:41 UTC +00:00]]
5439
+  (1.8ms) commit transaction
5440
+  (2.4ms) DELETE FROM "opay_payments";
5441
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5442
+  (1.8ms) DELETE FROM "orders";
5443
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';
5444
+  (2.6ms) DELETE FROM "opay_payments";
5445
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5446
+  (1.5ms) DELETE FROM "orders";
5447
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5448
+  (2.1ms) DELETE FROM "opay_payments";
5449
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5450
+  (1.6ms) DELETE FROM "orders";
5451
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5452
+  (22.7ms) DELETE FROM "opay_payments";
5453
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5454
+  (1.4ms) DELETE FROM "orders";
5455
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5456
+  (2.5ms) DELETE FROM "opay_payments";
5457
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5458
+  (1.4ms) DELETE FROM "orders";
5459
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5460
+  (1.8ms) DELETE FROM "opay_payments";
5461
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5462
+  (1.4ms) DELETE FROM "orders";
5463
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5464
+  (2.4ms) DELETE FROM "opay_payments";
5465
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5466
+  (1.4ms) DELETE FROM "orders";
5467
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5468
+  (0.1ms) begin transaction
5469
+ SQL (51.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:14:36 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:14:36 UTC +00:00]]
5470
+  (2.6ms) commit transaction
5471
+  (0.1ms) begin transaction
5472
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5473
+ Binary data inserted for `string` type on column `session_id`
5474
+ 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", Wed, 24 Apr 2013 14:14:36 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:14:36 UTC +00:00]]
5475
+  (1.2ms) commit transaction
5476
+ 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
5477
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
5478
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5479
+ 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
5480
+  (0.0ms) begin transaction
5481
+  (0.4ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:14:37.195968' WHERE "opay_payments"."id" = 1
5482
+  (1.7ms) commit transaction
5483
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
5484
+  (1.8ms) DELETE FROM "opay_payments";
5485
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5486
+  (1.5ms) DELETE FROM "orders";
5487
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5488
+  (0.1ms) begin transaction
5489
+ SQL (35.8ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5490
+  (2.0ms) commit transaction
5491
+  (0.0ms) begin transaction
5492
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5493
+ Binary data inserted for `string` type on column `session_id`
5494
+ 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", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5495
+  (1.8ms) commit transaction
5496
+ 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
5497
+  (3.1ms) DELETE FROM "opay_payments";
5498
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5499
+  (1.6ms) DELETE FROM "orders";
5500
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
5501
+  (0.1ms) begin transaction
5502
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5503
+  (1.7ms) commit transaction
5504
+  (0.0ms) begin transaction
5505
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5506
+ Binary data inserted for `string` type on column `session_id`
5507
+ 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", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5508
+  (1.4ms) commit transaction
5509
+ 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
5510
+  (1.9ms) DELETE FROM "opay_payments";
5511
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5512
+  (1.5ms) DELETE FROM "orders";
5513
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5514
+  (0.1ms) begin transaction
5515
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5516
+  (2.0ms) commit transaction
5517
+ 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
5518
+  (0.0ms) begin transaction
5519
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5520
+ Binary data inserted for `string` type on column `session_id`
5521
+ 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", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5522
+  (1.8ms) commit transaction
5523
+  (1.9ms) DELETE FROM "opay_payments";
5524
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5525
+  (1.5ms) DELETE FROM "orders";
5526
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';
5527
+  (0.1ms) begin transaction
5528
+ SQL (1.0ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5529
+  (1.7ms) commit transaction
5530
+ 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
5531
+  (0.0ms) begin transaction
5532
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5533
+ Binary data inserted for `string` type on column `session_id`
5534
+ 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", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5535
+  (1.4ms) commit transaction
5536
+  (1.7ms) DELETE FROM "opay_payments";
5537
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5538
+  (1.4ms) DELETE FROM "orders";
5539
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
5540
+  (2.7ms) DELETE FROM "opay_payments";
5541
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5542
+  (1.4ms) DELETE FROM "orders";
5543
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5544
+  (0.1ms) begin transaction
5545
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00], ["name", nil], ["updated_at", Wed, 24 Apr 2013 14:14:37 UTC +00:00]]
5546
+  (1.5ms) commit transaction
5547
+  (1.6ms) DELETE FROM "opay_payments";
5548
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5549
+  (1.3ms) DELETE FROM "orders";
5550
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders';
5551
+  (4.1ms) DELETE FROM "opay_payments";
5552
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5553
+  (1.1ms) DELETE FROM "orders";
5554
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5555
+  (1.7ms) DELETE FROM "opay_payments";
5556
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5557
+  (1.5ms) DELETE FROM "orders";
5558
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5559
+  (1.7ms) DELETE FROM "opay_payments";
5560
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5561
+  (1.4ms) DELETE FROM "orders";
5562
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5563
+  (0.1ms) begin transaction
5564
+ SQL (5.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:14:39 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:14:39 UTC +00:00]]
5565
+  (2.0ms) commit transaction
5566
+ 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
5567
+  (0.1ms) begin transaction
5568
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5569
+ Binary data inserted for `string` type on column `session_id`
5570
+ 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", Wed, 24 Apr 2013 14:14:39 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:14:39 UTC +00:00]]
5571
+  (61.5ms) commit transaction
5572
+  (2.1ms) DELETE FROM "opay_payments";
5573
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5574
+  (1.4ms) DELETE FROM "orders";
5575
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';
5576
+  (0.1ms) begin transaction
5577
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:14:40 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:14:40 UTC +00:00]]
5578
+  (1.7ms) commit transaction
5579
+ 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
5580
+  (0.0ms) begin transaction
5581
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5582
+ Binary data inserted for `string` type on column `session_id`
5583
+ 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", Wed, 24 Apr 2013 14:14:40 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:14:40 UTC +00:00]]
5584
+  (1.5ms) commit transaction
5585
+  (1.9ms) DELETE FROM "opay_payments";
5586
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5587
+  (1.6ms) DELETE FROM "orders";
5588
+  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';
5589
+ Connecting to database specified by database.yml
5590
+  (2.2ms) DELETE FROM "opay_payments";
5591
+  (30.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5592
+  (2.5ms) DELETE FROM "orders";
5593
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5594
+  (2.1ms) DELETE FROM "opay_payments";
5595
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5596
+  (1.6ms) DELETE FROM "orders";
5597
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5598
+  (0.1ms) begin transaction
5599
+ SQL (72.8ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00]]
5600
+  (1.3ms) commit transaction
5601
+  (0.1ms) begin transaction
5602
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5603
+ Binary data inserted for `string` type on column `session_id`
5604
+ 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", Wed, 24 Apr 2013 14:16:14 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00]]
5605
+  (1.3ms) commit transaction
5606
+ 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
5607
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
5608
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5609
+ 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
5610
+  (0.0ms) begin transaction
5611
+  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:16:14.511165' WHERE "opay_payments"."id" = 1
5612
+  (1.8ms) commit transaction
5613
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
5614
+  (2.0ms) DELETE FROM "opay_payments";
5615
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5616
+  (1.6ms) DELETE FROM "orders";
5617
+  (2.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5618
+  (0.1ms) begin transaction
5619
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00]]
5620
+  (2.0ms) commit transaction
5621
+  (0.0ms) begin transaction
5622
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5623
+ Binary data inserted for `string` type on column `session_id`
5624
+ 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", Wed, 24 Apr 2013 14:16:14 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00]]
5625
+  (1.8ms) commit transaction
5626
+ 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
5627
+  (1.7ms) DELETE FROM "opay_payments";
5628
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5629
+  (1.5ms) DELETE FROM "orders";
5630
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
5631
+  (0.1ms) begin transaction
5632
+ SQL (0.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00]]
5633
+  (2.1ms) commit transaction
5634
+  (0.0ms) begin transaction
5635
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5636
+ Binary data inserted for `string` type on column `session_id`
5637
+ 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", Wed, 24 Apr 2013 14:16:14 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00]]
5638
+  (1.5ms) commit transaction
5639
+ 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
5640
+  (1.6ms) DELETE FROM "opay_payments";
5641
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5642
+  (1.4ms) DELETE FROM "orders";
5643
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5644
+  (2.9ms) DELETE FROM "opay_payments";
5645
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5646
+  (1.3ms) DELETE FROM "orders";
5647
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5648
+  (1.7ms) DELETE FROM "opay_payments";
5649
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5650
+  (1.5ms) DELETE FROM "orders";
5651
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5652
+  (2.7ms) DELETE FROM "opay_payments";
5653
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5654
+  (1.4ms) DELETE FROM "orders";
5655
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5656
+  (0.1ms) begin transaction
5657
+ SQL (0.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 24 Apr 2013 14:16:14 UTC +00:00]]
5658
+  (2.0ms) commit transaction
5659
+  (1.5ms) DELETE FROM "opay_payments";
5660
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5661
+  (2.3ms) DELETE FROM "orders";
5662
+  (103.9ms) DELETE FROM sqlite_sequence where name = 'orders';
5663
+  (29.3ms) DELETE FROM "opay_payments";
5664
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5665
+  (1.5ms) DELETE FROM "orders";
5666
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5667
+  (0.1ms) begin transaction
5668
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:15 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:15 UTC +00:00]]
5669
+  (1.9ms) commit transaction
5670
+ 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
5671
+  (0.0ms) begin transaction
5672
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5673
+ Binary data inserted for `string` type on column `session_id`
5674
+ 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", Wed, 24 Apr 2013 14:16:15 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:15 UTC +00:00]]
5675
+  (119.4ms) commit transaction
5676
+  (2.2ms) DELETE FROM "opay_payments";
5677
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5678
+  (1.6ms) DELETE FROM "orders";
5679
+  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders';
5680
+  (0.0ms) begin transaction
5681
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:15 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:15 UTC +00:00]]
5682
+  (1.7ms) commit transaction
5683
+ 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
5684
+  (0.0ms) begin transaction
5685
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5686
+ Binary data inserted for `string` type on column `session_id`
5687
+ 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", Wed, 24 Apr 2013 14:16:15 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:15 UTC +00:00]]
5688
+  (1.6ms) commit transaction
5689
+  (1.9ms) DELETE FROM "opay_payments";
5690
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5691
+  (1.5ms) DELETE FROM "orders";
5692
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders';
5693
+  (1.9ms) DELETE FROM "opay_payments";
5694
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5695
+  (1.4ms) DELETE FROM "orders";
5696
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5697
+  (2.2ms) DELETE FROM "opay_payments";
5698
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5699
+  (1.6ms) DELETE FROM "orders";
5700
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5701
+  (1.8ms) DELETE FROM "opay_payments";
5702
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5703
+  (1.4ms) DELETE FROM "orders";
5704
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'orders';
5705
+  (0.1ms) begin transaction
5706
+ SQL (5.3ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5707
+  (1.5ms) commit transaction
5708
+  (0.1ms) begin transaction
5709
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5710
+ Binary data inserted for `string` type on column `session_id`
5711
+ 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", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5712
+  (1.3ms) commit transaction
5713
+ 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
5714
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1
5715
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5716
+ 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
5717
+  (0.0ms) begin transaction
5718
+  (0.8ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:16:26.151783' WHERE "opay_payments"."id" = 1
5719
+  (1.2ms) commit transaction
5720
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
5721
+  (2.0ms) DELETE FROM "opay_payments";
5722
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5723
+  (7.6ms) DELETE FROM "orders";
5724
+  (150.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5725
+  (0.1ms) begin transaction
5726
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5727
+  (54.5ms) commit transaction
5728
+  (0.1ms) begin transaction
5729
+ Order Load (45.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5730
+ Binary data inserted for `string` type on column `session_id`
5731
+ 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", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5732
+  (23.0ms) commit transaction
5733
+ 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
5734
+  (206.1ms) DELETE FROM "opay_payments";
5735
+  (77.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5736
+  (2.2ms) DELETE FROM "orders";
5737
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5738
+  (0.1ms) begin transaction
5739
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5740
+  (19.2ms) commit transaction
5741
+  (0.0ms) begin transaction
5742
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5743
+ Binary data inserted for `string` type on column `session_id`
5744
+ 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", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5745
+  (1.9ms) commit transaction
5746
+ 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
5747
+  (2.1ms) DELETE FROM "opay_payments";
5748
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5749
+  (2.1ms) DELETE FROM "orders";
5750
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5751
+  (2.1ms) DELETE FROM "opay_payments";
5752
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5753
+  (1.5ms) DELETE FROM "orders";
5754
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5755
+  (1.8ms) DELETE FROM "opay_payments";
5756
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5757
+  (2.4ms) DELETE FROM "orders";
5758
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5759
+  (1.7ms) DELETE FROM "opay_payments";
5760
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5761
+  (1.7ms) DELETE FROM "orders";
5762
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders';
5763
+  (0.1ms) begin transaction
5764
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", nil], ["created_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["name", nil], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5765
+  (1.8ms) commit transaction
5766
+  (2.1ms) DELETE FROM "opay_payments";
5767
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5768
+  (1.5ms) DELETE FROM "orders";
5769
+  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders';
5770
+  (2.0ms) DELETE FROM "opay_payments";
5771
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5772
+  (1.9ms) DELETE FROM "orders";
5773
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
5774
+  (0.1ms) begin transaction
5775
+ SQL (0.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5776
+  (2.4ms) commit transaction
5777
+ 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
5778
+  (0.0ms) begin transaction
5779
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5780
+ Binary data inserted for `string` type on column `session_id`
5781
+ 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", Wed, 24 Apr 2013 14:16:26 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:26 UTC +00:00]]
5782
+  (1.6ms) commit transaction
5783
+  (3.0ms) DELETE FROM "opay_payments";
5784
+  (2.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5785
+  (1.6ms) DELETE FROM "orders";
5786
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders';
5787
+  (0.1ms) begin transaction
5788
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Wed, 24 Apr 2013 14:16:27 UTC +00:00], ["name", "first order"], ["updated_at", Wed, 24 Apr 2013 14:16:27 UTC +00:00]]
5789
+  (1.7ms) commit transaction
5790
+ 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
5791
+  (0.0ms) begin transaction
5792
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
5793
+ Binary data inserted for `string` type on column `session_id`
5794
+ 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", Wed, 24 Apr 2013 14:16:27 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 14:16:27 UTC +00:00]]
5795
+  (1.6ms) commit transaction
5796
+  (2.2ms) DELETE FROM "opay_payments";
5797
+  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5798
+  (1.4ms) DELETE FROM "orders";
5799
+  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders';
5800
+  (2.4ms) DELETE FROM "opay_payments";
5801
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
5802
+  (1.5ms) DELETE FROM "orders";
5803
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70309097962120 !ruby/object:Gem::Requirement
16
+ requirement: &70341721302040 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.13
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70309097962120
24
+ version_requirements: *70341721302040
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &70309097960800 !ruby/object:Gem::Requirement
27
+ requirement: &70341721301620 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70309097960800
35
+ version_requirements: *70341721301620
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: mysql2
38
- requirement: &70309097958620 !ruby/object:Gem::Requirement
38
+ requirement: &70341721048200 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70309097958620
46
+ version_requirements: *70341721048200
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: pg
49
- requirement: &70309097956360 !ruby/object:Gem::Requirement
49
+ requirement: &70341721047000 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70309097956360
57
+ version_requirements: *70341721047000
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec-rails
60
- requirement: &70309097955540 !ruby/object:Gem::Requirement
60
+ requirement: &70341721045800 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70309097955540
68
+ version_requirements: *70341721045800
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: factory_girl_rails
71
- requirement: &70309097953380 !ruby/object:Gem::Requirement
71
+ requirement: &70341721044860 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70309097953380
79
+ version_requirements: *70341721044860
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: shoulda
82
- requirement: &70309097952660 !ruby/object:Gem::Requirement
82
+ requirement: &70341721081420 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70309097952660
90
+ version_requirements: *70341721081420
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: webmock
93
- requirement: &70309097951280 !ruby/object:Gem::Requirement
93
+ requirement: &70341721081000 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70309097951280
101
+ version_requirements: *70341721081000
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: database_cleaner
104
- requirement: &70309097949560 !ruby/object:Gem::Requirement
104
+ requirement: &70341721080580 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70309097949560
112
+ version_requirements: *70341721080580
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: capybara
115
- requirement: &70309097948320 !ruby/object:Gem::Requirement
115
+ requirement: &70341721080160 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *70309097948320
123
+ version_requirements: *70341721080160
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: guard-rspec
126
- requirement: &70309097947320 !ruby/object:Gem::Requirement
126
+ requirement: &70341721079740 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *70309097947320
134
+ version_requirements: *70341721079740
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: rb-fsevent
137
- requirement: &70309097946540 !ruby/object:Gem::Requirement
137
+ requirement: &70341721079320 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *70309097946540
145
+ version_requirements: *70341721079320
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: spork
148
- requirement: &70309097945700 !ruby/object:Gem::Requirement
148
+ requirement: &70341721078900 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *70309097945700
156
+ version_requirements: *70341721078900
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: guard-spork
159
- requirement: &70309097944240 !ruby/object:Gem::Requirement
159
+ requirement: &70341721078480 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: '0'
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *70309097944240
167
+ version_requirements: *70341721078480
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: terminal-notifier-guard
170
- requirement: &70309097943460 !ruby/object:Gem::Requirement
170
+ requirement: &70341721078060 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ! '>='
@@ -175,7 +175,7 @@ dependencies:
175
175
  version: '0'
176
176
  type: :development
177
177
  prerelease: false
178
- version_requirements: *70309097943460
178
+ version_requirements: *70341721078060
179
179
  description: Payu (polish payment service) rails engine.
180
180
  email:
181
181
  - ollownia@gmail.com