money-rails 0.2.0 → 0.3.0
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.
- data/CHANGELOG.md +8 -0
- data/README.md +110 -5
- data/lib/generators/templates/money.rb +12 -0
- data/lib/money-rails/active_record/monetizable.rb +51 -17
- data/lib/money-rails/configuration.rb +11 -0
- data/lib/money-rails/version.rb +1 -1
- data/money-rails.gemspec +2 -1
- data/spec/active_record/monetizable_spec.rb +138 -0
- data/spec/{config_spec.rb → configuration_spec.rb} +5 -0
- data/spec/dummy/app/models/dummy_product.rb +10 -0
- data/spec/dummy/app/models/product.rb +5 -2
- data/spec/dummy/app/models/service.rb +7 -0
- data/spec/dummy/app/models/transaction.rb +8 -0
- data/spec/dummy/config/initializers/money.rb +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20120524052716_create_services.rb +10 -0
- data/spec/dummy/db/migrate/20120528181002_create_transactions.rb +11 -0
- data/spec/dummy/db/migrate/20120528210103_create_dummy_products.rb +10 -0
- data/spec/dummy/db/schema.rb +22 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +64 -17
- data/spec/dummy/log/test.log +881 -327
- metadata +89 -103
- data/spec/dummy/db/migrate/20120402080614_add_currency_to_product.rb +0 -6
- data/spec/monetize_spec.rb +0 -41
@@ -11,5 +11,10 @@ describe "configuration" do
|
|
11
11
|
it "registers a custom currency" do
|
12
12
|
Money::Currency.table.should include(:eu4)
|
13
13
|
end
|
14
|
+
|
15
|
+
it "adds exchange rates given in config initializer" do
|
16
|
+
Money.us_dollar(100).exchange_to("CAD").should == Money.new(124, "CAD")
|
17
|
+
Money.ca_dollar(100).exchange_to("USD").should == Money.new(80, "USD")
|
18
|
+
end
|
14
19
|
end
|
15
20
|
end
|
@@ -2,13 +2,16 @@ class Product < ActiveRecord::Base
|
|
2
2
|
|
3
3
|
attr_accessible :price_cents, :discount, :bonus_cents
|
4
4
|
|
5
|
+
# Use USD as model level currency
|
6
|
+
register_currency :usd
|
7
|
+
|
5
8
|
# Use money-rails macros
|
6
9
|
monetize :price_cents
|
7
10
|
|
8
11
|
# Use a custom name for the Money attribute
|
9
12
|
monetize :discount, :as => "discount_value"
|
10
13
|
|
11
|
-
# Override default currency (
|
12
|
-
monetize :bonus_cents, :with_currency => :
|
14
|
+
# Override default currency (EUR) with a specific one (GBP) for this field only
|
15
|
+
monetize :bonus_cents, :with_currency => :gbp
|
13
16
|
|
14
17
|
end
|
@@ -6,6 +6,10 @@ MoneyRails.configure do |config|
|
|
6
6
|
#
|
7
7
|
config.default_currency = :eur
|
8
8
|
|
9
|
+
# Add some rates
|
10
|
+
config.add_rate "USD", "CAD", 1.24515
|
11
|
+
config.add_rate "CAD", "USD", 0.803115
|
12
|
+
|
9
13
|
# To handle the inclusion of validations for monetized fields
|
10
14
|
# The default value is true
|
11
15
|
#
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,14 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20120528210103) do
|
15
|
+
|
16
|
+
create_table "dummy_products", :force => true do |t|
|
17
|
+
t.string "currency"
|
18
|
+
t.integer "price_cents"
|
19
|
+
t.datetime "created_at", :null => false
|
20
|
+
t.datetime "updated_at", :null => false
|
21
|
+
end
|
15
22
|
|
16
23
|
create_table "products", :force => true do |t|
|
17
24
|
t.integer "price_cents"
|
@@ -19,7 +26,21 @@ ActiveRecord::Schema.define(:version => 20120402080614) do
|
|
19
26
|
t.datetime "created_at", :null => false
|
20
27
|
t.datetime "updated_at", :null => false
|
21
28
|
t.integer "bonus_cents"
|
29
|
+
end
|
30
|
+
|
31
|
+
create_table "services", :force => true do |t|
|
32
|
+
t.integer "charge_cents"
|
33
|
+
t.integer "discount_cents"
|
34
|
+
t.datetime "created_at", :null => false
|
35
|
+
t.datetime "updated_at", :null => false
|
36
|
+
end
|
37
|
+
|
38
|
+
create_table "transactions", :force => true do |t|
|
39
|
+
t.integer "amount_cents"
|
40
|
+
t.integer "tax_cents"
|
22
41
|
t.string "currency"
|
42
|
+
t.datetime "created_at", :null => false
|
43
|
+
t.datetime "updated_at", :null => false
|
23
44
|
end
|
24
45
|
|
25
46
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,21 +1,68 @@
|
|
1
|
-
[1m[36m (0.
|
2
|
-
[1m[35m (123.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
-
[1m[35m (83.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
2
|
Migrating to CreateProducts (20120331190108)
|
7
|
-
|
8
|
-
[1m[
|
9
|
-
[1m[
|
10
|
-
[1m[
|
11
|
-
[1m[
|
3
|
+
Migrating to AddBonusCentsToProduct (20120402080348)
|
4
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
5
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "products" ADD "bonus_cents" integer
|
7
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120402080348')[0m
|
8
|
+
[1m[35m (90.4ms)[0m commit transaction
|
9
|
+
Migrating to AddCurrencyToProduct (20120402080614)
|
10
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "products" ADD "currency" varchar(255)
|
12
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120402080614')[0m
|
13
|
+
[1m[35m (69.9ms)[0m commit transaction
|
14
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
15
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
16
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("products")[0m
|
12
17
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
18
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
19
|
+
Migrating to AddCurrencyToProduct (20120402080614)
|
20
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
21
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "altered_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_cents" integer, "discount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "bonus_cents" integer, "currency" varchar(255)) [0m
|
13
23
|
[1m[35m (0.0ms)[0m PRAGMA index_list("products")
|
24
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "products"[0m
|
25
|
+
[1m[35m (0.1ms)[0m DROP TABLE "products"
|
26
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_cents" integer, "discount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "bonus_cents" integer) [0m
|
27
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_products")
|
28
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_products"[0m
|
29
|
+
[1m[35m (0.1ms)[0m DROP TABLE "altered_products"
|
30
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120402080614'[0m
|
31
|
+
[1m[35m (147.4ms)[0m commit transaction
|
32
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
33
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
34
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("products")[0m
|
14
35
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15
|
-
[1m[35m (0.
|
16
|
-
|
17
|
-
[1m[
|
18
|
-
[1m[
|
19
|
-
[1m[
|
20
|
-
[1m[
|
21
|
-
[1m[
|
36
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
37
|
+
Migrating to AddBonusCentsToProduct (20120402080348)
|
38
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
39
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "altered_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_cents" integer, "discount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "bonus_cents" integer) [0m
|
41
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("products")
|
42
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "products"[0m
|
43
|
+
[1m[35m (0.1ms)[0m DROP TABLE "products"
|
44
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_cents" integer, "discount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
45
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_products")
|
46
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_products"[0m
|
47
|
+
[1m[35m (0.1ms)[0m DROP TABLE "altered_products"
|
48
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120402080348'[0m
|
49
|
+
[1m[35m (114.1ms)[0m commit transaction
|
50
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
51
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
52
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("products")[0m
|
53
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
54
|
+
Migrating to CreateProducts (20120331190108)
|
55
|
+
Migrating to AddBonusCentsToProduct (20120402080348)
|
56
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
57
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "products" ADD "bonus_cents" integer
|
59
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120402080348')[0m
|
60
|
+
[1m[35m (108.4ms)[0m commit transaction
|
61
|
+
Migrating to AddCurrencyToProduct (20120402080614)
|
62
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "products" ADD "currency" varchar(255)
|
64
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120402080614')[0m
|
65
|
+
[1m[35m (76.9ms)[0m commit transaction
|
66
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
67
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
68
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("products")[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -1,546 +1,1100 @@
|
|
1
|
-
[1m[36m (0.
|
2
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
4
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
5
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6
2
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7
|
-
[1m[36mSQL (
|
8
|
-
[1m[35m (0.
|
9
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
11
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12
|
-
[1m[36mSQL (4.3ms)[0m [1mINSERT INTO "products" ("created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 31 Mar 2012 19:27:21 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Sat, 31 Mar 2012 19:27:21 UTC +00:00]]
|
13
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
16
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
17
|
-
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "products" ("created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 31 Mar 2012 19:29:56 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Sat, 31 Mar 2012 19:29:56 UTC +00:00]]
|
18
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3
|
+
[1m[36mSQL (15.5ms)[0m [1mINSERT INTO "products" ("created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 02 Apr 2012 07:53:19 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 02 Apr 2012 07:53:19 UTC +00:00]]
|
4
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19
5
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
20
6
|
[1m[35m (0.0ms)[0m begin transaction
|
21
7
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22
|
-
[1m[35mSQL (0.
|
8
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 02 Apr 2012 07:53:19 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 02 Apr 2012 07:53:19 UTC +00:00]]
|
23
9
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24
|
-
[1m[35m (0.
|
25
|
-
[1m[36m (0.
|
26
|
-
[1m[35m (0.
|
27
|
-
[1m[
|
28
|
-
[1m[35m (0.
|
10
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
16
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17
|
+
[1m[36mSQL (15.7ms)[0m [1mINSERT INTO "products" ("created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 02 Apr 2012 08:13:28 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 02 Apr 2012 08:13:28 UTC +00:00]]
|
18
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
29
19
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
30
20
|
[1m[35m (0.0ms)[0m begin transaction
|
31
21
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
32
|
-
[1m[35mSQL (0.
|
22
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 02 Apr 2012 08:13:28 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 02 Apr 2012 08:13:28 UTC +00:00]]
|
33
23
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34
|
-
[1m[35m (0.
|
35
|
-
[1m[36m (0.
|
36
|
-
[1m[35m (0.
|
37
|
-
[1m[
|
38
|
-
[1m[35m (0.
|
24
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
35
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
38
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
47
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
48
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
49
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
50
|
+
Migrating to CreateProducts (20120331190108)
|
51
|
+
Migrating to AddBonusCentsToProduct (20120402080348)
|
52
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
53
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
54
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "products" ADD "bonus_cents" integer
|
55
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120402080348')[0m
|
56
|
+
[1m[35m (126.3ms)[0m commit transaction
|
57
|
+
Migrating to AddCurrencyToProduct (20120402080614)
|
58
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "products" ADD "currency" varchar(255)
|
60
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120402080614')[0m
|
61
|
+
[1m[35m (85.5ms)[0m commit transaction
|
62
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
63
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
64
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("products")[0m
|
65
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
66
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67
|
+
[1m[36mSQL (14.3ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 02 Apr 2012 08:34:29 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 02 Apr 2012 08:34:29 UTC +00:00]]
|
68
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39
69
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40
70
|
[1m[35m (0.0ms)[0m begin transaction
|
41
71
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42
|
-
[1m[35mSQL (0.
|
72
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Mon, 02 Apr 2012 08:34:29 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 02 Apr 2012 08:34:29 UTC +00:00]]
|
43
73
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44
|
-
[1m[35m (0.
|
45
|
-
[1m[36m (0.
|
46
|
-
[1m[35m (0.
|
47
|
-
[1m[36mSQL (
|
48
|
-
[1m[35m (0.
|
74
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
75
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
76
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 02 Apr 2012 08:34:29 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 02 Apr 2012 08:34:29 UTC +00:00]]
|
78
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
80
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
81
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
82
|
+
[1m[36mSQL (27.6ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:20:49 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:20:49 UTC +00:00]]
|
83
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
49
84
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50
85
|
[1m[35m (0.0ms)[0m begin transaction
|
51
86
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
52
|
-
[1m[35mSQL (0.
|
87
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:20:49 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:20:49 UTC +00:00]]
|
53
88
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
54
|
-
[1m[35m (0.
|
55
|
-
[1m[36m (0.
|
56
|
-
[1m[35m (0.
|
57
|
-
[1m[36mSQL (
|
58
|
-
[1m[35m (0.
|
89
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
90
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
91
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
92
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:20:49 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:20:49 UTC +00:00]]
|
93
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
95
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
96
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
97
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:22:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:22:20 UTC +00:00]]
|
98
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59
99
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60
100
|
[1m[35m (0.0ms)[0m begin transaction
|
61
101
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
62
|
-
[1m[35mSQL (0.
|
102
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:22:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:22:20 UTC +00:00]]
|
63
103
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
64
|
-
[1m[35m (0.
|
65
|
-
[1m[36m (0.
|
66
|
-
[1m[35m (0.
|
67
|
-
[1m[36mSQL (
|
68
|
-
[1m[35m (0.
|
104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
105
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
106
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
107
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:22:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:22:20 UTC +00:00]]
|
108
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
109
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
110
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
111
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
112
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:24:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:24:51 UTC +00:00]]
|
113
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69
114
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70
115
|
[1m[35m (0.0ms)[0m begin transaction
|
71
116
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
72
|
-
[1m[35mSQL (0.
|
117
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:24:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:24:51 UTC +00:00]]
|
73
118
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
74
|
-
[1m[35m (0.
|
75
|
-
[1m[36m (0.
|
119
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
76
121
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77
|
-
[1m[36mSQL (0.
|
122
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 11 Apr 2012 08:24:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 11 Apr 2012 08:24:51 UTC +00:00]]
|
123
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
124
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
125
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
126
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
127
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 26 Apr 2012 07:00:53 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 26 Apr 2012 07:00:53 UTC +00:00]]
|
78
128
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79
129
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80
|
-
[1m[
|
81
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
82
|
-
[1m[36mSQL (27.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 19 Apr 2012 20:56:38 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 19 Apr 2012 20:56:38 UTC +00:00]]
|
83
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
84
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85
|
-
[1m[35m (0.1ms)[0m begin transaction
|
130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
86
131
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87
|
-
[1m[35mSQL (0.
|
132
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 26 Apr 2012 07:00:53 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 26 Apr 2012 07:00:53 UTC +00:00]]
|
88
133
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89
|
-
[1m[35m (0.
|
134
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
90
135
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
91
136
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
92
|
-
[1m[36mSQL (0.
|
137
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 26 Apr 2012 07:00:53 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 26 Apr 2012 07:00:53 UTC +00:00]]
|
93
138
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94
139
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
95
|
-
[1m[36m (0.
|
96
|
-
[1m[35m (0.
|
97
|
-
[1m[36mSQL (
|
98
|
-
[1m[35m (0.
|
140
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
141
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
142
|
+
[1m[36mSQL (16.6ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 27 Apr 2012 14:35:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 27 Apr 2012 14:35:51 UTC +00:00]]
|
143
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
99
144
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
100
145
|
[1m[35m (0.0ms)[0m begin transaction
|
101
146
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
102
|
-
[1m[35mSQL (0.
|
147
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 27 Apr 2012 14:35:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 27 Apr 2012 14:35:51 UTC +00:00]]
|
103
148
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
104
|
-
[1m[35m (0.
|
149
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
105
150
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
106
151
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
107
|
-
[1m[36mSQL (0.
|
108
|
-
[1m[35m (0.
|
109
|
-
[1m[36m (0.
|
110
|
-
[1m[36m (0.
|
111
|
-
[1m[35m (0.
|
112
|
-
[1m[36mSQL (
|
113
|
-
[1m[35m (0.
|
152
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 27 Apr 2012 14:35:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 27 Apr 2012 14:35:51 UTC +00:00]]
|
153
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
154
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
155
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
157
|
+
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 27 Apr 2012 15:25:33 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 27 Apr 2012 15:25:33 UTC +00:00]]
|
158
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
114
159
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
115
160
|
[1m[35m (0.0ms)[0m begin transaction
|
116
161
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
117
|
-
[1m[35mSQL (0.
|
162
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 27 Apr 2012 15:25:33 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 27 Apr 2012 15:25:33 UTC +00:00]]
|
118
163
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
119
|
-
[1m[35m (0.
|
164
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
120
165
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
121
166
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
122
|
-
[1m[36mSQL (0.
|
167
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 27 Apr 2012 15:25:33 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 27 Apr 2012 15:25:33 UTC +00:00]]
|
168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
169
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
170
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
174
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:40:02 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:40:02 UTC +00:00]]
|
123
175
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
124
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
125
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
126
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
127
|
-
[1m[36mSQL (28.3ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 19 Apr 2012 21:08:40 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 19 Apr 2012 21:08:40 UTC +00:00]]
|
128
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
129
176
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
130
177
|
[1m[35m (0.0ms)[0m begin transaction
|
131
178
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
132
|
-
[1m[35mSQL (0.
|
179
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:40:02 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:40:02 UTC +00:00]]
|
133
180
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
134
|
-
[1m[35m (0.
|
181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
135
182
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
136
183
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137
|
-
[1m[36mSQL (0.
|
184
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:40:02 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:40:02 UTC +00:00]]
|
138
185
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139
|
-
[1m[36m (0.
|
140
|
-
[1m[36m (0.
|
141
|
-
[1m[35m (0.
|
142
|
-
[1m[36mSQL (26.7ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 19 Apr 2012 21:11:13 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 19 Apr 2012 21:11:13 UTC +00:00]]
|
143
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
144
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
145
|
-
[1m[35m (0.1ms)[0m begin transaction
|
146
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
147
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 19 Apr 2012 21:11:14 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 19 Apr 2012 21:11:14 UTC +00:00]]
|
148
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
149
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
186
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
187
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
188
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
150
189
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
151
190
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
152
|
-
[1m[36mSQL (
|
191
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:42:38 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:42:38 UTC +00:00]]
|
153
192
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
154
193
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
155
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
156
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
157
|
-
[1m[36mSQL (24.8ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Sat, 21 Apr 2012 10:56:06 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Sat, 21 Apr 2012 10:56:06 UTC +00:00]]
|
158
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
159
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
160
194
|
[1m[35m (0.0ms)[0m begin transaction
|
161
195
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
162
|
-
[1m[35mSQL (0.
|
196
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:42:38 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:42:38 UTC +00:00]]
|
163
197
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
164
|
-
[1m[35m (0.
|
165
|
-
[1m[36m (0.
|
166
|
-
[1m[35m (0.
|
167
|
-
[1m[36mSQL (0.
|
168
|
-
[1m[35m (0.
|
169
|
-
[1m[36m (0.
|
170
|
-
[1m[36m (0.
|
171
|
-
[1m[35m (0.
|
172
|
-
[1m[36m (0.
|
173
|
-
[1m[35m (0.
|
174
|
-
[1m[36mSQL (
|
175
|
-
[1m[35m (0.
|
198
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
201
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:42:38 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:42:38 UTC +00:00]]
|
202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
204
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
205
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
208
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:43:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:43:43 UTC +00:00]]
|
209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
176
210
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
177
211
|
[1m[35m (0.0ms)[0m begin transaction
|
178
212
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
179
|
-
[1m[35mSQL (0.
|
213
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:43:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:43:43 UTC +00:00]]
|
180
214
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
181
|
-
[1m[35m (0.
|
215
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
182
216
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
183
217
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
184
|
-
[1m[36mSQL (0.
|
218
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 09:43:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 09:43:43 UTC +00:00]]
|
185
219
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
186
|
-
[1m[36m (0.
|
187
|
-
[1m[36m (0.
|
220
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
221
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
188
222
|
[1m[35m (0.0ms)[0m rollback transaction
|
189
|
-
[1m[36m (0.
|
190
|
-
[1m[35m (0.
|
191
|
-
[1m[36mSQL (
|
192
|
-
[1m[35m (0.
|
223
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
224
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
225
|
+
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 10:01:11 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 10:01:11 UTC +00:00]]
|
226
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
193
227
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
194
228
|
[1m[35m (0.0ms)[0m begin transaction
|
195
229
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
196
|
-
[1m[35mSQL (0.
|
230
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 10:01:11 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 10:01:11 UTC +00:00]]
|
197
231
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
198
232
|
[1m[35m (0.1ms)[0m rollback transaction
|
199
|
-
[1m[36m (0.
|
233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
234
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
201
|
-
[1m[36mSQL (0.
|
235
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 10:01:11 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 10:01:11 UTC +00:00]]
|
202
236
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
-
[1m[36m (0.
|
204
|
-
[1m[36m (0.
|
237
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
238
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
205
239
|
[1m[35m (0.0ms)[0m rollback transaction
|
206
240
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
-
[1m[35m (0.
|
208
|
-
[1m[
|
209
|
-
[1m[35m (0.
|
241
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
243
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
244
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 03 May 2012 08:00:18 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 03 May 2012 08:00:18 UTC +00:00]]
|
245
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
210
246
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
211
|
-
[1m[35m (0.
|
247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
212
248
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
213
|
-
[1m[35mSQL (0.
|
249
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 03 May 2012 08:00:18 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 03 May 2012 08:00:18 UTC +00:00]]
|
214
250
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
215
|
-
[1m[35m (0.
|
251
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
216
252
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
217
253
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
218
|
-
[1m[36mSQL (0.
|
254
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 03 May 2012 08:00:18 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 03 May 2012 08:00:18 UTC +00:00]]
|
219
255
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
220
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
221
|
-
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
222
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
223
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
224
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
225
|
-
[1m[36mSQL (23.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 23:14:47 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 23:14:47 UTC +00:00]]
|
226
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
227
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
228
|
-
[1m[35m (0.0ms)[0m begin transaction
|
229
256
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
230
|
-
[1m[
|
257
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-03 08:00:18.481851' WHERE "products"."id" = 1
|
231
258
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
232
259
|
[1m[35m (0.1ms)[0m rollback transaction
|
233
260
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
234
261
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
235
|
-
[1m[36mSQL (0.
|
262
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 03 May 2012 08:00:18 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 03 May 2012 08:00:18 UTC +00:00]]
|
236
263
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
237
|
-
[1m[36m (0.
|
264
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
238
265
|
[1m[35m (0.0ms)[0m begin transaction
|
239
266
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
240
|
-
[1m[35mSQL (0.
|
267
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 03 May 2012 08:00:18 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 03 May 2012 08:00:18 UTC +00:00]]
|
241
268
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
242
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
243
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
244
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
245
|
-
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
246
269
|
[1m[35m (0.0ms)[0m rollback transaction
|
247
|
-
[1m[36m (0.
|
248
|
-
[1m[35m (0.
|
249
|
-
[1m[36mSQL (
|
250
|
-
[1m[35m (0.
|
251
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
252
|
-
[1m[35m (0.0ms)[0m begin transaction
|
270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
272
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 03 May 2012 08:00:18 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 03 May 2012 08:00:18 UTC +00:00]]
|
273
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
253
274
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
254
|
-
[1m[
|
275
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
276
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
277
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-03 08:00:18.523139' WHERE "products"."id" = 1
|
255
278
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
256
279
|
[1m[35m (0.1ms)[0m rollback transaction
|
280
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
283
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
257
284
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
258
285
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
259
|
-
[1m[36mSQL (
|
286
|
+
[1m[36mSQL (30.7ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:23:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:23:43 UTC +00:00]]
|
260
287
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
261
288
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
262
289
|
[1m[35m (0.0ms)[0m begin transaction
|
263
290
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
264
|
-
[1m[35mSQL (0.
|
291
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:23:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:23:43 UTC +00:00]]
|
265
292
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
266
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
267
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
268
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
269
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-04-30 23:15:34.779479' WHERE "products"."id" = 1[0m
|
270
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
271
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
272
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
273
293
|
[1m[35m (0.0ms)[0m rollback transaction
|
274
294
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
275
|
-
[1m[35m (0.
|
276
|
-
[1m[36mSQL (
|
277
|
-
[1m[35m (0.
|
278
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
279
|
-
[1m[35m (0.0ms)[0m begin transaction
|
295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:23:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:23:43 UTC +00:00]]
|
297
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
280
298
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
281
|
-
[1m[
|
299
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-18 08:23:43.537625' WHERE "products"."id" = 1
|
282
300
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
283
301
|
[1m[35m (0.1ms)[0m rollback transaction
|
284
|
-
[1m[36m (0.
|
302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
285
303
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
286
|
-
[1m[36mSQL (0.
|
304
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:23:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:23:43 UTC +00:00]]
|
287
305
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
288
|
-
[1m[36m (0.
|
306
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
289
307
|
[1m[35m (0.0ms)[0m begin transaction
|
290
308
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
291
|
-
[1m[35mSQL (0.
|
309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:23:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:23:43 UTC +00:00]]
|
292
310
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
293
|
-
[1m[35m (0.
|
311
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
294
312
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
295
313
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296
|
-
[1m[36mSQL (0.
|
314
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:23:43 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:23:43 UTC +00:00]]
|
297
315
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298
316
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
299
|
-
[1m[35m (0.
|
300
|
-
[1m[36m (0.
|
301
|
-
[1m[35m (0.
|
317
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
318
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
319
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-18 08:23:43.559831' WHERE "products"."id" = 1
|
302
320
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
303
321
|
[1m[35m (0.1ms)[0m rollback transaction
|
304
|
-
[1m[36m (0.
|
322
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
323
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
305
325
|
[1m[35m (0.0ms)[0m rollback transaction
|
306
326
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
307
|
-
[1m[35m (0.
|
308
|
-
[1m[36mSQL (
|
309
|
-
[1m[35m (0.
|
327
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
328
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:24:47 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:24:47 UTC +00:00]]
|
329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
310
330
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
311
|
-
[1m[35m (0.
|
331
|
+
[1m[35m (0.0ms)[0m begin transaction
|
312
332
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
313
|
-
[1m[35mSQL (0.
|
333
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:24:47 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:24:47 UTC +00:00]]
|
314
334
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
315
|
-
[1m[35m (0.
|
335
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
316
336
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
317
337
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
318
|
-
[1m[36mSQL (0.
|
338
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:24:47 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:24:47 UTC +00:00]]
|
319
339
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
320
|
-
[1m[36m (0.
|
321
|
-
[1m[35m (0.1ms)[0m
|
322
|
-
[1m[36m (0.
|
323
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 23:29:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 23:29:20 UTC +00:00]]
|
324
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-18 08:24:47.230290' WHERE "products"."id" = 1
|
342
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
325
343
|
[1m[35m (0.1ms)[0m rollback transaction
|
326
|
-
[1m[36m (0.
|
344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
327
345
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
328
|
-
[1m[36mSQL (0.
|
346
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:24:47 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:24:47 UTC +00:00]]
|
329
347
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
330
|
-
[1m[36m (0.
|
331
|
-
[1m[35m (0.
|
348
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
349
|
+
[1m[35m (0.0ms)[0m begin transaction
|
332
350
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
333
|
-
[1m[35mSQL (0.
|
351
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:24:47 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:24:47 UTC +00:00]]
|
334
352
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
335
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
336
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
337
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-04-30 23:29:20.101664' WHERE "products"."id" = 1[0m
|
339
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
341
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
342
353
|
[1m[35m (0.0ms)[0m rollback transaction
|
343
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
344
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
345
|
-
[1m[36mSQL (4.7ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 23:29:35 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 23:29:35 UTC +00:00]]
|
346
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
347
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
348
|
-
[1m[35m (0.1ms)[0m begin transaction
|
349
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
350
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 23:29:35 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 23:29:35 UTC +00:00]]
|
351
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
352
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
353
354
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
354
355
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
355
|
-
[1m[36mSQL (0.
|
356
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:24:47 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:24:47 UTC +00:00]]
|
356
357
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
357
358
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
358
|
-
[1m[35m (0.
|
359
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
360
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
361
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
362
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
363
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 23:29:35 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 23:29:35 UTC +00:00]]
|
364
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
365
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
366
|
-
[1m[35m (0.1ms)[0m begin transaction
|
359
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
367
360
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
368
|
-
[1m[
|
369
|
-
[1m[36m (0.
|
361
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-18 08:24:47.240402' WHERE "products"."id" = 1
|
362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
370
363
|
[1m[35m (0.1ms)[0m rollback transaction
|
371
|
-
[1m[36m (0.
|
364
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
365
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
367
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
372
369
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
373
|
-
[1m[36mSQL (
|
374
|
-
[1m[35m (0.
|
375
|
-
[1m[36m (0.
|
376
|
-
[1m[35m (0.
|
370
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:30:59 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:30:59 UTC +00:00]]
|
371
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
372
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
373
|
+
[1m[35m (0.0ms)[0m begin transaction
|
377
374
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
378
|
-
[1m[
|
375
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:30:59 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:30:59 UTC +00:00]]
|
379
376
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
380
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
381
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
382
377
|
[1m[35m (0.0ms)[0m rollback transaction
|
383
378
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
384
|
-
[1m[35m (0.
|
385
|
-
[1m[36mSQL (
|
386
|
-
[1m[35m (0.
|
387
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
388
|
-
[1m[35m (0.1ms)[0m begin transaction
|
379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
380
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:30:59 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:30:59 UTC +00:00]]
|
381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
389
382
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
390
|
-
[1m[
|
383
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-18 08:30:59.346515' WHERE "products"."id" = 1
|
391
384
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
392
385
|
[1m[35m (0.1ms)[0m rollback transaction
|
393
386
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
394
387
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
395
|
-
[1m[36mSQL (0.
|
388
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:30:59 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:30:59 UTC +00:00]]
|
396
389
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
390
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
397
392
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
398
|
-
[1m[
|
393
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:30:59 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:30:59 UTC +00:00]]
|
399
394
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
400
|
-
[1m[35m (0.
|
401
|
-
[1m[36m (0.
|
395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
402
397
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
403
|
-
[1m[36mSQL (0.
|
398
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:30:59 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:30:59 UTC +00:00]]
|
404
399
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
405
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
406
|
-
[1m[35m (0.1ms)[0m begin transaction
|
407
400
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
408
|
-
[1m[
|
409
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
410
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
411
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
412
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
413
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Mon, 30 Apr 2012 23:38:21 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Mon, 30 Apr 2012 23:38:21 UTC +00:00]]
|
414
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
401
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
415
402
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
416
|
-
[1m[35m (0.1ms)[0m
|
417
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
418
|
-
[1m[35m (0.2ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-04-30 23:38:21.209437' WHERE "products"."id" = 1
|
403
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-18 08:30:59.356357' WHERE "products"."id" = 1
|
419
404
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
420
405
|
[1m[35m (0.1ms)[0m rollback transaction
|
421
|
-
[1m[36m (0.
|
406
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
422
407
|
[1m[35m (0.0ms)[0m rollback transaction
|
423
|
-
[1m[36m (0.
|
424
|
-
[1m[35m (0.
|
425
|
-
[1m[36m (0.
|
426
|
-
[1m[35m (0.
|
427
|
-
[1m[36mSQL (
|
428
|
-
[1m[35m (0.
|
429
|
-
[1m[36m (0.
|
430
|
-
[1m[35m (0.
|
408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
409
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
410
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
411
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
412
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:44:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:44:36 UTC +00:00]]
|
413
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
414
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
415
|
+
[1m[35m (0.0ms)[0m begin transaction
|
431
416
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
432
|
-
[1m[35mSQL (0.
|
417
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:44:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:44:36 UTC +00:00]]
|
433
418
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
434
|
-
[1m[35m (0.
|
419
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
435
420
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
436
421
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
437
|
-
[1m[36mSQL (0.
|
422
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:44:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:44:36 UTC +00:00]]
|
438
423
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
439
424
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
440
|
-
[1m[35m (0.
|
425
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-18 08:44:36.750659' WHERE "products"."id" = 1
|
441
426
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
442
|
-
[1m[35m (0.
|
443
|
-
[1m[36m (0.
|
427
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
444
429
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
445
|
-
[1m[36mSQL (0.
|
430
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:44:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:44:36 UTC +00:00]]
|
446
431
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
447
|
-
[1m[36m (0.
|
432
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
448
433
|
[1m[35m (0.0ms)[0m begin transaction
|
449
434
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
450
|
-
[1m[35mSQL (0.
|
435
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:44:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:44:36 UTC +00:00]]
|
451
436
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
452
|
-
[1m[35m (0.
|
437
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
453
438
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
454
439
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
455
|
-
[1m[36mSQL (0.
|
440
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:44:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:44:36 UTC +00:00]]
|
456
441
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
457
442
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
458
|
-
[1m[35m (0.
|
459
|
-
[1m[36m (0.
|
460
|
-
[1m[35m (0.
|
443
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
445
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-18 08:44:36.760458' WHERE "products"."id" = 1
|
461
446
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
462
|
-
[1m[35m (0.
|
463
|
-
[1m[36m (0.
|
447
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
448
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
464
449
|
[1m[35m (0.0ms)[0m rollback transaction
|
465
450
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
466
|
-
[1m[35m (0.
|
467
|
-
[1m[36m (0.
|
468
|
-
[1m[35m (0.
|
469
|
-
[1m[
|
470
|
-
[1m[35m (0.
|
471
|
-
[1m[
|
451
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
456
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:51:23 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:51:23 UTC +00:00]]
|
457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
458
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
472
459
|
[1m[35m (0.0ms)[0m begin transaction
|
473
460
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
474
|
-
[1m[35mSQL (0.
|
461
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:51:23 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:51:23 UTC +00:00]]
|
475
462
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
476
|
-
[1m[35m (0.
|
463
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
477
464
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
478
465
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
479
|
-
[1m[36mSQL (0.
|
466
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:51:23 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:51:23 UTC +00:00]]
|
480
467
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
481
468
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
482
|
-
[1m[35m (0.
|
469
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-18 08:51:23.177296' WHERE "products"."id" = 1
|
483
470
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
484
|
-
[1m[35m (0.
|
485
|
-
[1m[36m (0.
|
471
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
486
473
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
487
|
-
[1m[36mSQL (0.
|
474
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:51:23 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:51:23 UTC +00:00]]
|
488
475
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
489
|
-
[1m[36m (0.
|
476
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
490
477
|
[1m[35m (0.0ms)[0m begin transaction
|
491
478
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
492
|
-
[1m[35mSQL (0.
|
479
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:51:23 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:51:23 UTC +00:00]]
|
493
480
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
494
|
-
[1m[35m (0.
|
495
|
-
[1m[36m (0.
|
481
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
496
483
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
497
|
-
[1m[36mSQL (0.
|
484
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:51:23 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:51:23 UTC +00:00]]
|
498
485
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
499
486
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
500
|
-
[1m[35m (0.
|
487
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
501
488
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
502
|
-
[1m[35m (0.
|
489
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-18 08:51:23.186778' WHERE "products"."id" = 1
|
503
490
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
504
491
|
[1m[35m (0.1ms)[0m rollback transaction
|
505
|
-
[1m[36m (0.
|
492
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
506
493
|
[1m[35m (0.0ms)[0m rollback transaction
|
507
494
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
508
495
|
[1m[35m (0.0ms)[0m rollback transaction
|
509
|
-
[1m[36m (0.
|
510
|
-
[1m[35m (0.
|
511
|
-
[1m[
|
512
|
-
[1m[35m (0.
|
513
|
-
[1m[
|
496
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
497
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
499
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
500
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:54:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:54:20 UTC +00:00]]
|
501
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
502
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
514
503
|
[1m[35m (0.0ms)[0m begin transaction
|
515
504
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
516
|
-
[1m[35mSQL (0.
|
505
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:54:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:54:20 UTC +00:00]]
|
517
506
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
518
|
-
[1m[35m (0.
|
507
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
519
508
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
520
509
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
521
|
-
[1m[36mSQL (0.
|
510
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:54:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:54:20 UTC +00:00]]
|
522
511
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
523
512
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
524
|
-
[1m[35m (0.
|
513
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-18 08:54:20.186169' WHERE "products"."id" = 1
|
525
514
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
526
|
-
[1m[35m (0.
|
515
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
527
516
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
528
517
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
529
|
-
[1m[36mSQL (0.
|
530
|
-
[1m[35m (0.
|
531
|
-
[1m[36m (0.
|
532
|
-
[1m[35m (0.
|
518
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:54:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:54:20 UTC +00:00]]
|
519
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
520
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
533
522
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
534
|
-
[1m[35mSQL (0.
|
523
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:54:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:54:20 UTC +00:00]]
|
535
524
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
536
|
-
[1m[35m (0.
|
525
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
537
526
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
538
527
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
539
|
-
[1m[36mSQL (0.
|
528
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Fri, 18 May 2012 08:54:20 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Fri, 18 May 2012 08:54:20 UTC +00:00]]
|
540
529
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
541
530
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
542
|
-
[1m[35m (0.
|
543
|
-
[1m[36m (0.
|
544
|
-
[1m[35m (0.
|
531
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
532
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
533
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-18 08:54:20.195865' WHERE "products"."id" = 1
|
545
534
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
546
535
|
[1m[35m (0.1ms)[0m rollback transaction
|
536
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
537
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
540
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
541
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
542
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
544
|
+
[1m[36mSQL (15.5ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Tue, 22 May 2012 15:45:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Tue, 22 May 2012 15:45:36 UTC +00:00]]
|
545
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
546
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
547
|
+
[1m[35m (0.0ms)[0m begin transaction
|
548
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
549
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Tue, 22 May 2012 15:45:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Tue, 22 May 2012 15:45:36 UTC +00:00]]
|
550
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
551
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
554
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Tue, 22 May 2012 15:45:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Tue, 22 May 2012 15:45:36 UTC +00:00]]
|
555
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
557
|
+
[1m[35m (0.2ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-22 15:45:36.872327' WHERE "products"."id" = 1
|
558
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
559
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
562
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Tue, 22 May 2012 15:45:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Tue, 22 May 2012 15:45:36 UTC +00:00]]
|
563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
564
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
565
|
+
[1m[35m (0.0ms)[0m begin transaction
|
566
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
567
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Tue, 22 May 2012 15:45:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Tue, 22 May 2012 15:45:36 UTC +00:00]]
|
568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
569
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
570
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
571
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
572
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Tue, 22 May 2012 15:45:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Tue, 22 May 2012 15:45:36 UTC +00:00]]
|
573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
574
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
575
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
577
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-22 15:45:36.897146' WHERE "products"."id" = 1
|
578
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
579
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
581
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
583
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
584
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
585
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
587
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
588
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 08:56:21 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 08:56:21 UTC +00:00]]
|
589
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
590
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
592
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
593
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 08:56:22 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 08:56:22 UTC +00:00]]
|
594
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
595
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
596
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
597
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
598
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 08:56:22 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 08:56:22 UTC +00:00]]
|
599
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
600
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
601
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-23 08:56:22.011106' WHERE "products"."id" = 1
|
602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
603
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
604
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
606
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 08:56:22 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 08:56:22 UTC +00:00]]
|
607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
608
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
609
|
+
[1m[35m (0.0ms)[0m begin transaction
|
610
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
611
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 08:56:22 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 08:56:22 UTC +00:00]]
|
612
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
613
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
614
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
615
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
616
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 08:56:22 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 08:56:22 UTC +00:00]]
|
617
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
619
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
621
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-23 08:56:22.021024' WHERE "products"."id" = 1
|
622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
623
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
624
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
625
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
627
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
628
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
629
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
632
|
+
[1m[36mSQL (17.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:26:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:26:51 UTC +00:00]]
|
633
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
634
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
636
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
637
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:26:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:26:51 UTC +00:00]]
|
638
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
639
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
640
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:26:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:26:51 UTC +00:00]]
|
643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
645
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-23 15:26:51.822797' WHERE "products"."id" = 1
|
646
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
647
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
649
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
650
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:26:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:26:51 UTC +00:00]]
|
651
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
652
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
653
|
+
[1m[35m (0.0ms)[0m begin transaction
|
654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
655
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:26:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:26:51 UTC +00:00]]
|
656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
657
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
658
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
660
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:26:51 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:26:51 UTC +00:00]]
|
661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
663
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
664
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
665
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-23 15:26:51.833258' WHERE "products"."id" = 1
|
666
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
667
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
668
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
669
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
670
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
671
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
673
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
674
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
676
|
+
[1m[36mSQL (16.5ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:26:59 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:26:59 UTC +00:00]]
|
677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
678
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679
|
+
[1m[35m (0.0ms)[0m begin transaction
|
680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:00 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:00 UTC +00:00]]
|
682
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
683
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
685
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
686
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:00 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:00 UTC +00:00]]
|
687
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
688
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
689
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-23 15:27:00.002176' WHERE "products"."id" = 1
|
690
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
691
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
694
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:00 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:00 UTC +00:00]]
|
695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
696
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
698
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
699
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:00 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:00 UTC +00:00]]
|
700
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
701
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
702
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
703
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
704
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:00 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:00 UTC +00:00]]
|
705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
707
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
708
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
709
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-23 15:27:00.012828' WHERE "products"."id" = 1
|
710
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
711
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
712
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
713
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
714
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
715
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
716
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
717
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
718
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
719
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
720
|
+
[1m[36mSQL (16.3ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:09 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:09 UTC +00:00]]
|
721
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
722
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
725
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:09 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:09 UTC +00:00]]
|
726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
727
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
730
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:09 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:09 UTC +00:00]]
|
731
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
733
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-23 15:27:09.303472' WHERE "products"."id" = 1
|
734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
735
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
736
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
737
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
738
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:09 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:09 UTC +00:00]]
|
739
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
740
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
741
|
+
[1m[35m (0.0ms)[0m begin transaction
|
742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
743
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:09 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:09 UTC +00:00]]
|
744
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
745
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
747
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
748
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:09 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:09 UTC +00:00]]
|
749
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
750
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
751
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
752
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
753
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-23 15:27:09.314307' WHERE "products"."id" = 1
|
754
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
755
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
757
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
759
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
760
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
761
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
764
|
+
[1m[36mSQL (16.9ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:17 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:17 UTC +00:00]]
|
765
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
766
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
769
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:17 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:17 UTC +00:00]]
|
770
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
771
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
774
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:17 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:17 UTC +00:00]]
|
775
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
776
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
777
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-23 15:27:17.517758' WHERE "products"."id" = 1
|
778
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
779
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
780
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
782
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:17 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:17 UTC +00:00]]
|
783
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
784
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
785
|
+
[1m[35m (0.0ms)[0m begin transaction
|
786
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
787
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:17 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:17 UTC +00:00]]
|
788
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
789
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
790
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
792
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:17 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:17 UTC +00:00]]
|
793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
794
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
795
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
796
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
797
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-23 15:27:17.528742' WHERE "products"."id" = 1
|
798
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
799
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
800
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
801
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
803
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
805
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
807
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
808
|
+
[1m[36mSQL (16.3ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:36 UTC +00:00]]
|
809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
810
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
811
|
+
[1m[35m (0.0ms)[0m begin transaction
|
812
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
813
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:36 UTC +00:00]]
|
814
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
815
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
816
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
818
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:36 UTC +00:00]]
|
819
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
821
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 3210, "currency" = 'EUR', "updated_at" = '2012-05-23 15:27:36.219577' WHERE "products"."id" = 1
|
822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
823
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
824
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
825
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
826
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:36 UTC +00:00]]
|
827
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
828
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
829
|
+
[1m[35m (0.0ms)[0m begin transaction
|
830
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
831
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:36 UTC +00:00]]
|
832
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
833
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
835
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
836
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "currency", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Wed, 23 May 2012 15:27:36 UTC +00:00], ["currency", nil], ["discount", 150], ["price_cents", 3000], ["updated_at", Wed, 23 May 2012 15:27:36 UTC +00:00]]
|
837
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
838
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
839
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
840
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
841
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-23 15:27:36.230516' WHERE "products"."id" = 1
|
842
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
843
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
844
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
847
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
849
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
851
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
852
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
853
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
855
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
856
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
857
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
859
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
860
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
861
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
863
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
865
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
866
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
867
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
868
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
870
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
871
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
872
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
873
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
874
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "products" SET "price_cents" = 3210, "updated_at" = '2012-05-31 09:33:04.721613' WHERE "products"."id" = 1[0m
|
875
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
876
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
878
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
879
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
880
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
881
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
882
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
883
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
884
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
885
|
+
[1m[35m (0.0ms)[0m begin transaction
|
886
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
887
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
888
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
889
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
890
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
891
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
892
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
893
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
894
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
895
|
+
[1m[35m (0.1ms)[0m UPDATE "products" SET "price_cents" = 2000, "updated_at" = '2012-05-31 09:33:04.732998' WHERE "products"."id" = 1
|
896
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
897
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
900
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
903
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
904
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
905
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
907
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
908
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
909
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
911
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
912
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
913
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
914
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
915
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
916
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
917
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
920
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
923
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
924
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
925
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
926
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
927
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
928
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
929
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
930
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-05-31 09:33:04.741695' WHERE "products"."id" = 1[0m
|
931
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
932
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
935
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
936
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
937
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
938
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
939
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
940
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[35m (0.0ms)[0m UPDATE "products" SET "price_cents" = 2500, "updated_at" = '2012-05-31 09:33:04.744171' WHERE "products"."id" = 1
|
942
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
945
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
946
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
947
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
948
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
949
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
950
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
951
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
952
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "products" SET "bonus_cents" = 2500, "updated_at" = '2012-05-31 09:33:04.746621' WHERE "products"."id" = 1[0m
|
953
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
954
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
955
|
+
[1m[35m (0.0ms)[0m begin transaction
|
956
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
957
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
958
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
960
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
962
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
963
|
+
[1m[35m (0.0ms)[0m UPDATE "products" SET "discount" = 500, "updated_at" = '2012-05-31 09:33:04.749148' WHERE "products"."id" = 1
|
964
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
965
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
966
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
968
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
974
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "services" SET "discount_cents" = 500, "updated_at" = '2012-05-31 09:33:04.751658' WHERE "services"."id" = 1[0m
|
975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
976
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
978
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
979
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
980
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
981
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
982
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
983
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
986
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
987
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
988
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
990
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
991
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
992
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
993
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
996
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
999
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1000
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1001
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1002
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["amount_cents", 2400], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1003
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1004
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1005
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1006
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1007
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1008
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1010
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1016
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1017
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1018
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1019
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1020
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1021
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1022
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1025
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1027
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1030
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1031
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1032
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1033
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1034
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1036
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["amount_cents", 2400], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1037
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1038
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1039
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1040
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1041
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1042
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1044
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1045
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1046
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1047
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1048
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1050
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1051
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1053
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount_cents", 2400], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1055
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1057
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1058
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1059
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1060
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1061
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1062
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1063
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1064
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1065
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1066
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1067
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1068
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["amount_cents", 2400], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1072
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1073
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1076
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1079
|
+
[1m[35m (0.1ms)[0m UPDATE "transactions" SET "amount_cents" = 2500, "currency" = 'EUR', "updated_at" = '2012-05-31 09:33:04.799666' WHERE "transactions"."id" = 1
|
1080
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1081
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1084
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("bonus_cents", "created_at", "discount", "price_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["bonus_cents", 200], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount", 150], ["price_cents", 3000], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1086
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1087
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "services" ("charge_cents", "created_at", "discount_cents", "updated_at") VALUES (?, ?, ?, ?) [["charge_cents", 2000], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["discount_cents", 120], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1090
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "transactions" ("amount_cents", "created_at", "currency", "tax_cents", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["amount_cents", 2400], ["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["tax_cents", 600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1091
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1093
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", :usd], ["price_cents", 2400], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1094
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1095
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1096
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_products" ("created_at", "currency", "price_cents", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 09:33:04 UTC +00:00], ["currency", nil], ["price_cents", 2600], ["updated_at", Thu, 31 May 2012 09:33:04 UTC +00:00]]
|
1097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1098
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1099
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1100
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|