spec/dummy/log/test.log in opay-1.0.3 vs spec/dummy/log/test.log in opay-1.0.4

- old
+ new

@@ -5103,5 +5103,701 @@  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders';  (2.3ms) DELETE FROM "opay_payments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';  (1.7ms) DELETE FROM "orders";  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (230.8ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (26.5ms) DELETE FROM "orders"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (31.9ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (3.7ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (114.6ms) commit transaction +  (0.1ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (87.2ms) commit transaction + 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 +  (23.8ms) DELETE FROM "opay_payments"; +  (7.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.4ms) DELETE FROM "orders"; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.5ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (25.6ms) commit transaction + 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 + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1 + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 + 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 +  (0.4ms) begin transaction +  (0.5ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:09:07.383703' WHERE "opay_payments"."id" = 1 +  (1.7ms) commit transaction + Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]] +  (458.3ms) DELETE FROM "opay_payments"; +  (2.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.2ms) DELETE FROM "orders"; +  (49.9ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (13.3ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.5ms) commit transaction + 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 +  (13.4ms) DELETE FROM "opay_payments"; +  (1.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.8ms) DELETE FROM "orders"; +  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.8ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (0.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (43.6ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.8ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (30.1ms) commit transaction +  (13.5ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.3ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.2ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.8ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (23.8ms) commit transaction +  (16.0ms) DELETE FROM "opay_payments"; +  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (8.4ms) DELETE FROM "orders"; +  (2.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (38.0ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (5.2ms) commit transaction +  (7.0ms) DELETE FROM "opay_payments"; +  (9.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (46.4ms) DELETE FROM "orders"; +  (26.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (101.8ms) DELETE FROM "opay_payments"; +  (0.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (201.0ms) DELETE FROM "orders"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.8ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (27.2ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.3ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction +  (0.1ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.6ms) commit transaction + 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 +  (2.2ms) DELETE FROM "opay_payments"; +  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.4ms) commit transaction + 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 + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1 + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 + 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 +  (0.0ms) begin transaction +  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:12:06.175917' WHERE "opay_payments"."id" = 1 +  (1.7ms) commit transaction + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]] +  (1.7ms) DELETE FROM "opay_payments"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.3ms) DELETE FROM "orders"; +  (34.9ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.1ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (2.0ms) commit transaction + 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 +  (2.6ms) DELETE FROM "opay_payments"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.2ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.7ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.9ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.0ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.4ms) commit transaction +  (1.5ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.8ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.3ms) DELETE FROM "orders"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.5ms) commit transaction +  (1.9ms) DELETE FROM "opay_payments"; +  (2.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.7ms) DELETE FROM "orders"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.6ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.3ms) commit transaction +  (1.6ms) DELETE FROM "opay_payments"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.3ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.2ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.8ms) commit transaction + 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 +  (0.2ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (36.3ms) commit transaction +  (2.3ms) DELETE FROM "opay_payments"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.7ms) DELETE FROM "orders"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.6ms) commit transaction +  (1.9ms) DELETE FROM "opay_payments"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +Connecting to database specified by database.yml +  (2.8ms) DELETE FROM "opay_payments"; +  (44.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.7ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.8ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (46.0ms) commit transaction +  (0.3ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.8ms) commit transaction + 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 + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1 + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 + 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 +  (0.0ms) begin transaction +  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:13:40.570474' WHERE "opay_payments"."id" = 1 +  (1.6ms) commit transaction + Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]] +  (1.8ms) DELETE FROM "opay_payments"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.5ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.5ms) commit transaction + 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 +  (2.2ms) DELETE FROM "opay_payments"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.4ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.4ms) commit transaction + 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 +  (1.9ms) DELETE FROM "opay_payments"; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (6.4ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.8ms) commit transaction +  (1.8ms) DELETE FROM "opay_payments"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.6ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.3ms) commit transaction +  (2.7ms) DELETE FROM "opay_payments"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (97.3ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.8ms) commit transaction +  (2.4ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.8ms) DELETE FROM "orders"; +  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.6ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.1ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (22.7ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.5ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.8ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.4ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.6ms) commit transaction +  (0.1ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.2ms) commit transaction + 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 + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1 + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 + 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 +  (0.0ms) begin transaction +  (0.4ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:14:37.195968' WHERE "opay_payments"."id" = 1 +  (1.7ms) commit transaction + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]] +  (1.8ms) DELETE FROM "opay_payments"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (2.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.0ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.8ms) commit transaction + 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 +  (3.1ms) DELETE FROM "opay_payments"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.4ms) commit transaction + 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 +  (1.9ms) DELETE FROM "opay_payments"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.0ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.8ms) commit transaction +  (1.9ms) DELETE FROM "opay_payments"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.4ms) commit transaction +  (1.7ms) DELETE FROM "opay_payments"; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.7ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.5ms) commit transaction +  (1.6ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (4.1ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.1ms) DELETE FROM "orders"; +  (0.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.0ms) commit transaction + 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 +  (0.1ms) begin transaction + Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (61.5ms) commit transaction +  (2.1ms) DELETE FROM "opay_payments"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.5ms) commit transaction +  (1.9ms) DELETE FROM "opay_payments"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.8ms) DELETE FROM sqlite_sequence where name = 'orders'; +Connecting to database specified by database.yml +  (2.2ms) DELETE FROM "opay_payments"; +  (30.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.5ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.1ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.3ms) commit transaction +  (0.1ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.3ms) commit transaction + 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 + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1 + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 + 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 +  (0.0ms) begin transaction +  (0.3ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:16:14.511165' WHERE "opay_payments"."id" = 1 +  (1.8ms) commit transaction + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]] +  (2.0ms) DELETE FROM "opay_payments"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (2.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.0ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.8ms) commit transaction + 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 +  (1.7ms) DELETE FROM "opay_payments"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.1ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.5ms) commit transaction + 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 +  (1.6ms) DELETE FROM "opay_payments"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.9ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.7ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.0ms) commit transaction +  (1.5ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.3ms) DELETE FROM "orders"; +  (103.9ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (29.3ms) DELETE FROM "opay_payments"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.9ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (119.4ms) commit transaction +  (2.2ms) DELETE FROM "opay_payments"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.0ms) begin transaction + 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]] +  (1.7ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.6ms) commit transaction +  (1.9ms) DELETE FROM "opay_payments"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.9ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.2ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.8ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.5ms) commit transaction +  (0.1ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.3ms) commit transaction + 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 + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a7deb9a6840e764b4dac3ce9469a788c' LIMIT 1 + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 + 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 +  (0.0ms) begin transaction +  (0.8ms) UPDATE "opay_payments" SET "finished" = 't', "updated_at" = '2013-04-24 14:16:26.151783' WHERE "opay_payments"."id" = 1 +  (1.2ms) commit transaction + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]] +  (2.0ms) DELETE FROM "opay_payments"; +  (1.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (7.6ms) DELETE FROM "orders"; +  (150.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (54.5ms) commit transaction +  (0.1ms) begin transaction + Order Load (45.5ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (23.0ms) commit transaction + 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 +  (206.1ms) DELETE FROM "opay_payments"; +  (77.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.2ms) DELETE FROM "orders"; +  (3.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (19.2ms) commit transaction +  (0.0ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.9ms) commit transaction + 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 +  (2.1ms) DELETE FROM "opay_payments"; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.1ms) DELETE FROM "orders"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.1ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.8ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.4ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.7ms) DELETE FROM "orders"; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.8ms) commit transaction +  (2.1ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (1.9ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.0ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.9ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (2.4ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.6ms) commit transaction +  (3.0ms) DELETE FROM "opay_payments"; +  (2.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + 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]] +  (1.7ms) commit transaction + 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 +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1 +Binary data inserted for `string` type on column `session_id` + 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]] +  (1.6ms) commit transaction +  (2.2ms) DELETE FROM "opay_payments"; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (1.6ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.4ms) DELETE FROM "opay_payments"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';