translatable_records 4.0.0.1 → 5.1.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.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +5 -5
- data/Rakefile +1 -3
- data/lib/translatable_records/version.rb +1 -1
- metadata +13 -107
- data/test/dummy/Rakefile +0 -5
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/models/product.rb +0 -5
- data/test/dummy/app/models/product_translation.rb +0 -8
- data/test/dummy/app/views/layouts/application.html.erb +0 -12
- data/test/dummy/bin/bundle +0 -4
- data/test/dummy/bin/rails +0 -5
- data/test/dummy/bin/rake +0 -5
- data/test/dummy/bin/setup +0 -30
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -25
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -10
- data/test/dummy/config/database.yml.travis +0 -3
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -41
- data/test/dummy/config/environments/production.rb +0 -79
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -56
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/db/migrate/20130819155126_create_products.rb +0 -8
- data/test/dummy/db/migrate/20161205171056_create_product_translations.rb +0 -12
- data/test/dummy/db/schema.rb +0 -34
- data/test/dummy/log/development.log +0 -78
- data/test/dummy/log/test.log +0 -1549
- data/test/dummy/public/404.html +0 -61
- data/test/dummy/public/422.html +0 -61
- data/test/dummy/public/500.html +0 -60
- data/test/dummy/public/favicon.ico +0 -0
- data/test/generator_test.rb +0 -21
- data/test/record_test.rb +0 -38
- data/test/test_helper.rb +0 -13
data/test/dummy/log/test.log
DELETED
@@ -1,1549 +0,0 @@
|
|
1
|
-
[1m[36m (2.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
-
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreateProducts (20130819155126)
|
5
|
-
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36m (3.3ms)[0m [1mCREATE TABLE "products" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
7
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130819155126"]]
|
8
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
9
|
-
Migrating to CreateProductTranslations (20161205171056)
|
10
|
-
[1m[35m (0.2ms)[0m BEGIN
|
11
|
-
[1m[36m (2.1ms)[0m [1mCREATE TABLE "product_translations" ("id" serial primary key, "product_id" integer, "locale" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
12
|
-
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_product_translations_on_product_id_and_locale" ON "product_translations" ("product_id", "locale")
|
13
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20161205171056"]]
|
14
|
-
[1m[35m (0.6ms)[0m COMMIT
|
15
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
16
|
-
[1m[35m (1.8ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
17
|
-
FROM pg_constraint c
|
18
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
19
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
20
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
21
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
22
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
23
|
-
WHERE c.contype = 'f'
|
24
|
-
AND t1.relname = 'product_translations'
|
25
|
-
AND t3.nspname = ANY (current_schemas(false))
|
26
|
-
ORDER BY c.conname
|
27
|
-
|
28
|
-
[1m[36m (1.3ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
29
|
-
FROM pg_constraint c
|
30
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
31
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
32
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
33
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
34
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
35
|
-
WHERE c.contype = 'f'
|
36
|
-
AND t1.relname = 'products'
|
37
|
-
AND t3.nspname = ANY (current_schemas(false))
|
38
|
-
ORDER BY c.conname
|
39
|
-
[0m
|
40
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
41
|
-
[1m[35m (0.2ms)[0m BEGIN
|
42
|
-
------------------------------------------------
|
43
|
-
RecordsTest: test_associated_translation_edition
|
44
|
-
------------------------------------------------
|
45
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
46
|
-
[1m[35m (0.1ms)[0m BEGIN
|
47
|
-
-------------------------------------------------
|
48
|
-
RecordsTest: test_associated_translation_creation
|
49
|
-
-------------------------------------------------
|
50
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
51
|
-
[1m[35m (0.2ms)[0m BEGIN
|
52
|
-
-------------------------------------------------
|
53
|
-
RecordsTest: test_associated_translation_deletion
|
54
|
-
-------------------------------------------------
|
55
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
56
|
-
[1m[35m (0.2ms)[0m BEGIN
|
57
|
-
-------------------------------
|
58
|
-
RecordsTest: test_locale_change
|
59
|
-
-------------------------------
|
60
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
61
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62
|
-
[1m[35m (0.2ms)[0m BEGIN
|
63
|
-
-------------------------------------------------
|
64
|
-
RecordsTest: test_associated_translation_deletion
|
65
|
-
-------------------------------------------------
|
66
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
67
|
-
[1m[35m (0.1ms)[0m BEGIN
|
68
|
-
-------------------------------
|
69
|
-
RecordsTest: test_locale_change
|
70
|
-
-------------------------------
|
71
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
72
|
-
[1m[35m (0.2ms)[0m BEGIN
|
73
|
-
-------------------------------------------------
|
74
|
-
RecordsTest: test_associated_translation_creation
|
75
|
-
-------------------------------------------------
|
76
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
77
|
-
[1m[35m (0.1ms)[0m BEGIN
|
78
|
-
------------------------------------------------
|
79
|
-
RecordsTest: test_associated_translation_edition
|
80
|
-
------------------------------------------------
|
81
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
82
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
83
|
-
[1m[35m (0.3ms)[0m BEGIN
|
84
|
-
-------------------------------------------------
|
85
|
-
RecordsTest: test_associated_translation_deletion
|
86
|
-
-------------------------------------------------
|
87
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
88
|
-
[1m[35m (0.2ms)[0m BEGIN
|
89
|
-
-------------------------------
|
90
|
-
RecordsTest: test_locale_change
|
91
|
-
-------------------------------
|
92
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
93
|
-
[1m[35m (0.1ms)[0m BEGIN
|
94
|
-
-------------------------------------------------
|
95
|
-
RecordsTest: test_associated_translation_creation
|
96
|
-
-------------------------------------------------
|
97
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
98
|
-
[1m[35m (0.1ms)[0m BEGIN
|
99
|
-
------------------------------------------------
|
100
|
-
RecordsTest: test_associated_translation_edition
|
101
|
-
------------------------------------------------
|
102
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
103
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
104
|
-
[1m[35m (0.2ms)[0m BEGIN
|
105
|
-
------------------------------------------------
|
106
|
-
RecordsTest: test_associated_translation_edition
|
107
|
-
------------------------------------------------
|
108
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
109
|
-
[1m[35m (0.1ms)[0m BEGIN
|
110
|
-
-------------------------------------------------
|
111
|
-
RecordsTest: test_associated_translation_creation
|
112
|
-
-------------------------------------------------
|
113
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
114
|
-
[1m[35m (0.2ms)[0m BEGIN
|
115
|
-
-------------------------------------------------
|
116
|
-
RecordsTest: test_associated_translation_deletion
|
117
|
-
-------------------------------------------------
|
118
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
119
|
-
[1m[35mProductTranslation Exists (6.8ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
120
|
-
[1m[36m (12.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
121
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
122
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
123
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
124
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
125
|
-
------------------------------------------------
|
126
|
-
RecordsTest: test_associated_translation_edition
|
127
|
-
------------------------------------------------
|
128
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
129
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
130
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
131
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
132
|
-
[1m[35m (0.1ms)[0m BEGIN
|
133
|
-
-------------------------------------------------
|
134
|
-
RecordsTest: test_associated_translation_creation
|
135
|
-
-------------------------------------------------
|
136
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
137
|
-
[1m[35mProductTranslation Exists (0.4ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
138
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
139
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
140
|
-
[1m[35m (0.2ms)[0m BEGIN
|
141
|
-
-------------------------------------------------
|
142
|
-
RecordsTest: test_associated_translation_creation
|
143
|
-
-------------------------------------------------
|
144
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
145
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
146
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
147
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
148
|
-
[1m[35m (0.2ms)[0m BEGIN
|
149
|
-
-------------------------------------------------
|
150
|
-
RecordsTest: test_associated_translation_creation
|
151
|
-
-------------------------------------------------
|
152
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
153
|
-
[1m[35m (0.3ms)[0m BEGIN
|
154
|
-
-------------------------------------------------
|
155
|
-
RecordsTest: test_associated_translation_deletion
|
156
|
-
-------------------------------------------------
|
157
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
158
|
-
[1m[35mProductTranslation Exists (0.5ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
159
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
160
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
161
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
162
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
163
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
164
|
-
------------------------------------------------
|
165
|
-
RecordsTest: test_associated_translation_edition
|
166
|
-
------------------------------------------------
|
167
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
168
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
169
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
170
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
171
|
-
[1m[35mProductTranslation Exists (0.3ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
172
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
173
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
174
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
175
|
-
-------------------------------
|
176
|
-
RecordsTest: test_locale_change
|
177
|
-
-------------------------------
|
178
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
179
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
180
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
181
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
182
|
-
[1m[35mProductTranslation Exists (0.2ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
183
|
-
[1m[36mProductTranslation Exists (1.5ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
184
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
185
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
186
|
-
[1m[35m (0.1ms)[0m BEGIN
|
187
|
-
-------------------------------------------------
|
188
|
-
RecordsTest: test_associated_translation_creation
|
189
|
-
-------------------------------------------------
|
190
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
191
|
-
[1m[35mProductTranslation Exists (0.4ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
192
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
193
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
194
|
-
[1m[35m (0.2ms)[0m BEGIN
|
195
|
-
-------------------------------
|
196
|
-
RecordsTest: test_locale_change
|
197
|
-
-------------------------------
|
198
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
199
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
200
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
201
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
202
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
203
|
-
[1m[35mProductTranslation Exists (0.2ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1
|
204
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
205
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
206
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
207
|
-
-------------------------------------------------
|
208
|
-
RecordsTest: test_associated_translation_deletion
|
209
|
-
-------------------------------------------------
|
210
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
211
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
212
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
213
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
214
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
215
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
216
|
-
[1m[35m (0.1ms)[0m BEGIN
|
217
|
-
------------------------------------------------
|
218
|
-
RecordsTest: test_associated_translation_edition
|
219
|
-
------------------------------------------------
|
220
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
221
|
-
[1m[35mProductTranslation Exists (0.2ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
222
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
223
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
224
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
225
|
-
[1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
226
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
227
|
-
[1m[35m (0.2ms)[0m BEGIN
|
228
|
-
-------------------------------------------------
|
229
|
-
RecordsTest: test_associated_translation_creation
|
230
|
-
-------------------------------------------------
|
231
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
232
|
-
[1m[35mProductTranslation Exists (0.3ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
233
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
234
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
235
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
236
|
-
[1m[35m (0.2ms)[0m BEGIN
|
237
|
-
-------------------------------------------------
|
238
|
-
RecordsTest: test_associated_translation_deletion
|
239
|
-
-------------------------------------------------
|
240
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
241
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
242
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-05 17:23:51.483741"], ["updated_at", "2016-12-05 17:23:51.483741"]]
|
243
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 1], ["created_at", "2016-12-05 17:23:51.485404"], ["updated_at", "2016-12-05 17:23:51.485404"]]
|
244
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
245
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
246
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 1]]
|
247
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "products" WHERE "products"."id" = $1 [["id", 1]]
|
248
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
249
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
250
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
251
|
-
-------------------------------------------------
|
252
|
-
RecordsTest: test_associated_translation_creation
|
253
|
-
-------------------------------------------------
|
254
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
255
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
256
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:23:51.490832"], ["updated_at", "2016-12-05 17:23:51.490832"]]
|
257
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "name"], ["product_id", 2], ["created_at", "2016-12-05 17:23:51.492193"], ["updated_at", "2016-12-05 17:23:51.492193"]]
|
258
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
259
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
260
|
-
[1m[35m (0.1ms)[0m BEGIN
|
261
|
-
------------------------------------------------
|
262
|
-
RecordsTest: test_associated_translation_edition
|
263
|
-
------------------------------------------------
|
264
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
265
|
-
[1m[35mProductTranslation Exists (0.2ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
266
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-05 17:23:51.496426"], ["updated_at", "2016-12-05 17:23:51.496426"]]
|
267
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 3], ["created_at", "2016-12-05 17:23:51.497205"], ["updated_at", "2016-12-05 17:23:51.497205"]]
|
268
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
269
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
270
|
-
[1m[36mProductTranslation Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 3 AND "product_translations"."id" != 3 AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
271
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "product_translations" SET "name" = $1, "updated_at" = $2 WHERE "product_translations"."id" = $3 [["name", "new name"], ["updated_at", "2016-12-05 17:23:51.500273"], ["id", 3]]
|
272
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
273
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
274
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
275
|
-
-------------------------------
|
276
|
-
RecordsTest: test_locale_change
|
277
|
-
-------------------------------
|
278
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
279
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
280
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:23:51.520839"], ["updated_at", "2016-12-05 17:23:51.520839"]]
|
281
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "name"], ["product_id", 4], ["created_at", "2016-12-05 17:23:51.521586"], ["updated_at", "2016-12-05 17:23:51.521586"]]
|
282
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
283
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
284
|
-
[1m[35mProductTranslation Exists (0.2ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 4 AND "product_translations"."locale" = 'es') LIMIT 1
|
285
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "es"], ["name", "new name"], ["product_id", 4], ["created_at", "2016-12-05 17:23:51.523897"], ["updated_at", "2016-12-05 17:23:51.523897"]]
|
286
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
287
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
288
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
289
|
-
[1m[35m (0.2ms)[0m BEGIN
|
290
|
-
-------------------------------------------------
|
291
|
-
RecordsTest: test_associated_translation_deletion
|
292
|
-
-------------------------------------------------
|
293
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
294
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
295
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-05 17:24:12.521678"], ["updated_at", "2016-12-05 17:24:12.521678"]]
|
296
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 5], ["created_at", "2016-12-05 17:24:12.523221"], ["updated_at", "2016-12-05 17:24:12.523221"]]
|
297
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
299
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 6]]
|
300
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "products" WHERE "products"."id" = $1 [["id", 5]]
|
301
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
302
|
-
[1m[35mProductTranslation Load (0.2ms)[0m SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 LIMIT 1 [["product_id", 5]]
|
303
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
304
|
-
[1m[35m (0.1ms)[0m BEGIN
|
305
|
-
-------------------------------------------------
|
306
|
-
RecordsTest: test_associated_translation_creation
|
307
|
-
-------------------------------------------------
|
308
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
309
|
-
[1m[35mProductTranslation Exists (0.2ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
310
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-05 17:24:12.536120"], ["updated_at", "2016-12-05 17:24:12.536120"]]
|
311
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 6], ["created_at", "2016-12-05 17:24:12.536919"], ["updated_at", "2016-12-05 17:24:12.536919"]]
|
312
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
313
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
314
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
315
|
-
------------------------------------------------
|
316
|
-
RecordsTest: test_associated_translation_edition
|
317
|
-
------------------------------------------------
|
318
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
319
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1[0m
|
320
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:24:12.539997"], ["updated_at", "2016-12-05 17:24:12.539997"]]
|
321
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "name"], ["product_id", 7], ["created_at", "2016-12-05 17:24:12.540686"], ["updated_at", "2016-12-05 17:24:12.540686"]]
|
322
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
323
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
324
|
-
[1m[35mProductTranslation Exists (0.3ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 7 AND "product_translations"."id" != 8 AND "product_translations"."locale" = 'en') LIMIT 1
|
325
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "product_translations" SET "name" = $1, "updated_at" = $2 WHERE "product_translations"."id" = $3[0m [["name", "new name"], ["updated_at", "2016-12-05 17:24:12.543341"], ["id", 8]]
|
326
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
327
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
328
|
-
[1m[35m (0.1ms)[0m BEGIN
|
329
|
-
-------------------------------
|
330
|
-
RecordsTest: test_locale_change
|
331
|
-
-------------------------------
|
332
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
333
|
-
[1m[35mProductTranslation Exists (0.2ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
334
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-05 17:24:12.546707"], ["updated_at", "2016-12-05 17:24:12.546707"]]
|
335
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 8], ["created_at", "2016-12-05 17:24:12.547410"], ["updated_at", "2016-12-05 17:24:12.547410"]]
|
336
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
337
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
338
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 8 AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
339
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "new name"], ["product_id", 8], ["created_at", "2016-12-05 17:24:12.549840"], ["updated_at", "2016-12-05 17:24:12.549840"]]
|
340
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
342
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
343
|
-
[1m[35m (0.4ms)[0m BEGIN
|
344
|
-
---------------------------
|
345
|
-
RecordTest: test_persistent
|
346
|
-
---------------------------
|
347
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
348
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
349
|
-
[1m[35m (0.2ms)[0m BEGIN
|
350
|
-
----------------------------
|
351
|
-
ProductTest: test_persistent
|
352
|
-
----------------------------
|
353
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
354
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
355
|
-
[1m[35m (0.2ms)[0m BEGIN
|
356
|
-
----------------------------
|
357
|
-
ProductTest: test_persistent
|
358
|
-
----------------------------
|
359
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
360
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
361
|
-
[1m[35m (0.2ms)[0m BEGIN
|
362
|
-
----------------------------
|
363
|
-
ProductTest: test_persistent
|
364
|
-
----------------------------
|
365
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
366
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
367
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
368
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:31:33.400904"], ["updated_at", "2016-12-05 17:31:33.400904"]]
|
369
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 9], ["created_at", "2016-12-05 17:31:33.402431"], ["updated_at", "2016-12-05 17:31:33.402431"]]
|
370
|
-
[1m[35mSQL (4.5ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 9], ["created_at", "2016-12-05 17:31:33.403518"], ["updated_at", "2016-12-05 17:31:33.403518"]]
|
371
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
372
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 9]]
|
373
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 9]]
|
374
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
375
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
376
|
-
[1m[35m (0.2ms)[0m BEGIN
|
377
|
-
----------------------------
|
378
|
-
ProductTest: test_persistent
|
379
|
-
----------------------------
|
380
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
381
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
382
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
383
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:45:59.690621"], ["updated_at", "2016-12-05 17:45:59.690621"]]
|
384
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 10], ["created_at", "2016-12-05 17:45:59.692029"], ["updated_at", "2016-12-05 17:45:59.692029"]]
|
385
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 10], ["created_at", "2016-12-05 17:45:59.692968"], ["updated_at", "2016-12-05 17:45:59.692968"]]
|
386
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
387
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 10]]
|
388
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 10]]
|
389
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
390
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
391
|
-
----------------------------
|
392
|
-
GeneratorsTest: test_install
|
393
|
-
----------------------------
|
394
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
395
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
396
|
-
[1m[35m (0.2ms)[0m BEGIN
|
397
|
-
----------------------------
|
398
|
-
ProductTest: test_persistent
|
399
|
-
----------------------------
|
400
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
401
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
402
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
403
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:46:07.402557"], ["updated_at", "2016-12-05 17:46:07.402557"]]
|
404
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 11], ["created_at", "2016-12-05 17:46:07.404073"], ["updated_at", "2016-12-05 17:46:07.404073"]]
|
405
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 11], ["created_at", "2016-12-05 17:46:07.405122"], ["updated_at", "2016-12-05 17:46:07.405122"]]
|
406
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
407
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 11]]
|
408
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 11]]
|
409
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
410
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
411
|
-
----------------------------
|
412
|
-
GeneratorsTest: test_install
|
413
|
-
----------------------------
|
414
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
415
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
416
|
-
[1m[35m (0.2ms)[0m BEGIN
|
417
|
-
----------------------------
|
418
|
-
GeneratorsTest: test_install
|
419
|
-
----------------------------
|
420
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
421
|
-
[1m[35m (0.2ms)[0m BEGIN
|
422
|
-
----------------------------
|
423
|
-
ProductTest: test_persistent
|
424
|
-
----------------------------
|
425
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
426
|
-
[1m[35mProductTranslation Exists (1.1ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
427
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
428
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:47:05.106751"], ["updated_at", "2016-12-05 17:47:05.106751"]]
|
429
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 12], ["created_at", "2016-12-05 17:47:05.108955"], ["updated_at", "2016-12-05 17:47:05.108955"]]
|
430
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 12], ["created_at", "2016-12-05 17:47:05.110240"], ["updated_at", "2016-12-05 17:47:05.110240"]]
|
431
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
432
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 12]]
|
433
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 12]]
|
434
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
435
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 17]]
|
436
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 18]]
|
437
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 12]]
|
438
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
439
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
440
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
441
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
442
|
-
[1m[35m (0.2ms)[0m BEGIN
|
443
|
-
----------------------------
|
444
|
-
ProductTest: test_persistent
|
445
|
-
----------------------------
|
446
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
447
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
448
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
449
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:48:43.884595"], ["updated_at", "2016-12-05 20:48:43.884595"]]
|
450
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 13], ["created_at", "2016-12-05 20:48:43.886216"], ["updated_at", "2016-12-05 20:48:43.886216"]]
|
451
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 13], ["created_at", "2016-12-05 20:48:43.887271"], ["updated_at", "2016-12-05 20:48:43.887271"]]
|
452
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
453
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 13]]
|
454
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 13]]
|
455
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
456
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 19]]
|
457
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 20]]
|
458
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 13]]
|
459
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
460
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
461
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
462
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
463
|
-
----------------------------
|
464
|
-
GeneratorsTest: test_install
|
465
|
-
----------------------------
|
466
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
467
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
468
|
-
[1m[35m (0.2ms)[0m BEGIN
|
469
|
-
----------------------------
|
470
|
-
GeneratorsTest: test_install
|
471
|
-
----------------------------
|
472
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
473
|
-
[1m[35m (0.2ms)[0m BEGIN
|
474
|
-
----------------------------
|
475
|
-
ProductTest: test_persistent
|
476
|
-
----------------------------
|
477
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
478
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
479
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
480
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:49:24.578261"], ["updated_at", "2016-12-05 20:49:24.578261"]]
|
481
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 14], ["created_at", "2016-12-05 20:49:24.579804"], ["updated_at", "2016-12-05 20:49:24.579804"]]
|
482
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 14], ["created_at", "2016-12-05 20:49:24.580854"], ["updated_at", "2016-12-05 20:49:24.580854"]]
|
483
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
484
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 14]]
|
485
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 14]]
|
486
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
487
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 21]]
|
488
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 22]]
|
489
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 14]]
|
490
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
491
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
492
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
493
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
494
|
-
[1m[35m (0.2ms)[0m BEGIN
|
495
|
-
----------------------------
|
496
|
-
ProductTest: test_persistent
|
497
|
-
----------------------------
|
498
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
499
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
500
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
501
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:49:35.962864"], ["updated_at", "2016-12-05 20:49:35.962864"]]
|
502
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 15], ["created_at", "2016-12-05 20:49:35.964371"], ["updated_at", "2016-12-05 20:49:35.964371"]]
|
503
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 15], ["created_at", "2016-12-05 20:49:35.965388"], ["updated_at", "2016-12-05 20:49:35.965388"]]
|
504
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
505
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 15]]
|
506
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 15]]
|
507
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
508
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 23]]
|
509
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 24]]
|
510
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 15]]
|
511
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
512
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
513
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
514
|
-
[1m[36m (1.1ms)[0m [1mBEGIN[0m
|
515
|
-
----------------------------
|
516
|
-
GeneratorsTest: test_install
|
517
|
-
----------------------------
|
518
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
519
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
520
|
-
[1m[35m (0.2ms)[0m BEGIN
|
521
|
-
----------------------------
|
522
|
-
ProductTest: test_persistent
|
523
|
-
----------------------------
|
524
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
525
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
526
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
527
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:49:50.010384"], ["updated_at", "2016-12-05 20:49:50.010384"]]
|
528
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 16], ["created_at", "2016-12-05 20:49:50.011848"], ["updated_at", "2016-12-05 20:49:50.011848"]]
|
529
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 16], ["created_at", "2016-12-05 20:49:50.012939"], ["updated_at", "2016-12-05 20:49:50.012939"]]
|
530
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
531
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 16]]
|
532
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 16]]
|
533
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
534
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 25]]
|
535
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 26]]
|
536
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 16]]
|
537
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
538
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
539
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
540
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
541
|
-
----------------------------
|
542
|
-
GeneratorsTest: test_install
|
543
|
-
----------------------------
|
544
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
545
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
546
|
-
[1m[35m (0.2ms)[0m BEGIN
|
547
|
-
----------------------------
|
548
|
-
ProductTest: test_persistent
|
549
|
-
----------------------------
|
550
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
551
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
552
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
553
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:50:18.791509"], ["updated_at", "2016-12-05 20:50:18.791509"]]
|
554
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 17], ["created_at", "2016-12-05 20:50:18.793006"], ["updated_at", "2016-12-05 20:50:18.793006"]]
|
555
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 17], ["created_at", "2016-12-05 20:50:18.794093"], ["updated_at", "2016-12-05 20:50:18.794093"]]
|
556
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
557
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 17]]
|
558
|
-
[1m[36mProductTranslation Load (0.3ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 17]]
|
559
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
560
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 27]]
|
561
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 28]]
|
562
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 17]]
|
563
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
564
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
565
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
566
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
567
|
-
----------------------------
|
568
|
-
GeneratorsTest: test_install
|
569
|
-
----------------------------
|
570
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
571
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
572
|
-
[1m[35m (0.2ms)[0m BEGIN
|
573
|
-
----------------------------
|
574
|
-
GeneratorsTest: test_install
|
575
|
-
----------------------------
|
576
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
577
|
-
[1m[35m (0.2ms)[0m BEGIN
|
578
|
-
----------------------------
|
579
|
-
ProductTest: test_persistent
|
580
|
-
----------------------------
|
581
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
582
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
583
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
584
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:51:16.603876"], ["updated_at", "2016-12-05 20:51:16.603876"]]
|
585
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 18], ["created_at", "2016-12-05 20:51:16.605821"], ["updated_at", "2016-12-05 20:51:16.605821"]]
|
586
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 18], ["created_at", "2016-12-05 20:51:16.608397"], ["updated_at", "2016-12-05 20:51:16.608397"]]
|
587
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
588
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 18]]
|
589
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 18]]
|
590
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
591
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 29]]
|
592
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 30]]
|
593
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 18]]
|
594
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
595
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
596
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
597
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
598
|
-
[1m[35m (0.2ms)[0m BEGIN
|
599
|
-
----------------------------
|
600
|
-
ProductTest: test_persistent
|
601
|
-
----------------------------
|
602
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
603
|
-
[1m[35mProductTranslation Exists (0.5ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
604
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
605
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:51:48.575913"], ["updated_at", "2016-12-05 20:51:48.575913"]]
|
606
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 19], ["created_at", "2016-12-05 20:51:48.577414"], ["updated_at", "2016-12-05 20:51:48.577414"]]
|
607
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 19], ["created_at", "2016-12-05 20:51:48.578462"], ["updated_at", "2016-12-05 20:51:48.578462"]]
|
608
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
609
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 19]]
|
610
|
-
[1m[36mProductTranslation Load (0.3ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 19]]
|
611
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
612
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 31]]
|
613
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 32]]
|
614
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 19]]
|
615
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
616
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
617
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
618
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
619
|
-
----------------------------
|
620
|
-
GeneratorsTest: test_install
|
621
|
-
----------------------------
|
622
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
623
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
624
|
-
[1m[35m (0.2ms)[0m BEGIN
|
625
|
-
----------------------------
|
626
|
-
GeneratorsTest: test_install
|
627
|
-
----------------------------
|
628
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
629
|
-
[1m[35m (0.2ms)[0m BEGIN
|
630
|
-
----------------------------
|
631
|
-
ProductTest: test_persistent
|
632
|
-
----------------------------
|
633
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
634
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
635
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
636
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:52:22.328083"], ["updated_at", "2016-12-05 20:52:22.328083"]]
|
637
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 20], ["created_at", "2016-12-05 20:52:22.329980"], ["updated_at", "2016-12-05 20:52:22.329980"]]
|
638
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 20], ["created_at", "2016-12-05 20:52:22.331417"], ["updated_at", "2016-12-05 20:52:22.331417"]]
|
639
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
640
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 20]]
|
641
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 20]]
|
642
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
643
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 33]]
|
644
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 34]]
|
645
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 20]]
|
646
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
647
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
648
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
649
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
650
|
-
[1m[35m (0.2ms)[0m BEGIN
|
651
|
-
----------------------------
|
652
|
-
GeneratorsTest: test_install
|
653
|
-
----------------------------
|
654
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
655
|
-
[1m[35m (0.2ms)[0m BEGIN
|
656
|
-
----------------------------
|
657
|
-
ProductTest: test_persistent
|
658
|
-
----------------------------
|
659
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
660
|
-
[1m[35mProductTranslation Exists (0.8ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
661
|
-
[1m[36mProductTranslation Exists (1.6ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
662
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:52:43.615425"], ["updated_at", "2016-12-05 20:52:43.615425"]]
|
663
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 21], ["created_at", "2016-12-05 20:52:43.617180"], ["updated_at", "2016-12-05 20:52:43.617180"]]
|
664
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 21], ["created_at", "2016-12-05 20:52:43.618306"], ["updated_at", "2016-12-05 20:52:43.618306"]]
|
665
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
666
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 21]]
|
667
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 21]]
|
668
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
669
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 35]]
|
670
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 36]]
|
671
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 21]]
|
672
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
673
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
674
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
675
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
676
|
-
[1m[35m (0.3ms)[0m BEGIN
|
677
|
-
----------------------------
|
678
|
-
ProductTest: test_persistent
|
679
|
-
----------------------------
|
680
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
682
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
683
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:52:53.968776"], ["updated_at", "2016-12-05 20:52:53.968776"]]
|
684
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 22], ["created_at", "2016-12-05 20:52:53.970275"], ["updated_at", "2016-12-05 20:52:53.970275"]]
|
685
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 22], ["created_at", "2016-12-05 20:52:53.971314"], ["updated_at", "2016-12-05 20:52:53.971314"]]
|
686
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
687
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 22]]
|
688
|
-
[1m[36mProductTranslation Load (0.3ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 22]]
|
689
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
690
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 37]]
|
691
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 38]]
|
692
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 22]]
|
693
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
694
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
695
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
696
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
697
|
-
----------------------------
|
698
|
-
GeneratorsTest: test_install
|
699
|
-
----------------------------
|
700
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
701
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
702
|
-
[1m[35m (0.3ms)[0m BEGIN
|
703
|
-
----------------------------
|
704
|
-
ProductTest: test_persistent
|
705
|
-
----------------------------
|
706
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
707
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
708
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
709
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:53:08.911379"], ["updated_at", "2016-12-05 20:53:08.911379"]]
|
710
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 23], ["created_at", "2016-12-05 20:53:08.913127"], ["updated_at", "2016-12-05 20:53:08.913127"]]
|
711
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 23], ["created_at", "2016-12-05 20:53:08.914255"], ["updated_at", "2016-12-05 20:53:08.914255"]]
|
712
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
713
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 23]]
|
714
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 23]]
|
715
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
716
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 39]]
|
717
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 40]]
|
718
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 23]]
|
719
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
720
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
721
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
722
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
723
|
-
----------------------------
|
724
|
-
GeneratorsTest: test_install
|
725
|
-
----------------------------
|
726
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
727
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
728
|
-
[1m[35m (0.3ms)[0m BEGIN
|
729
|
-
----------------------------
|
730
|
-
GeneratorsTest: test_install
|
731
|
-
----------------------------
|
732
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
733
|
-
[1m[35m (0.2ms)[0m BEGIN
|
734
|
-
----------------------------
|
735
|
-
ProductTest: test_persistent
|
736
|
-
----------------------------
|
737
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
738
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
739
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
740
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:53:16.968532"], ["updated_at", "2016-12-05 20:53:16.968532"]]
|
741
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 24], ["created_at", "2016-12-05 20:53:16.970319"], ["updated_at", "2016-12-05 20:53:16.970319"]]
|
742
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 24], ["created_at", "2016-12-05 20:53:16.971788"], ["updated_at", "2016-12-05 20:53:16.971788"]]
|
743
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
744
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 24]]
|
745
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 24]]
|
746
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
747
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 41]]
|
748
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 42]]
|
749
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 24]]
|
750
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
751
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
752
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
753
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
754
|
-
[1m[35m (0.3ms)[0m BEGIN
|
755
|
-
----------------------------
|
756
|
-
ProductTest: test_persistent
|
757
|
-
----------------------------
|
758
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
759
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
760
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
761
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:54:11.089922"], ["updated_at", "2016-12-05 20:54:11.089922"]]
|
762
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 25], ["created_at", "2016-12-05 20:54:11.091564"], ["updated_at", "2016-12-05 20:54:11.091564"]]
|
763
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 25], ["created_at", "2016-12-05 20:54:11.092641"], ["updated_at", "2016-12-05 20:54:11.092641"]]
|
764
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
765
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 25]]
|
766
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 25]]
|
767
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
768
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 43]]
|
769
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 44]]
|
770
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 25]]
|
771
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
772
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
773
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
774
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
775
|
-
----------------------------
|
776
|
-
GeneratorsTest: test_install
|
777
|
-
----------------------------
|
778
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
779
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
780
|
-
[1m[35m (0.2ms)[0m BEGIN
|
781
|
-
----------------------------
|
782
|
-
GeneratorsTest: test_install
|
783
|
-
----------------------------
|
784
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
785
|
-
[1m[35m (0.2ms)[0m BEGIN
|
786
|
-
----------------------------
|
787
|
-
ProductTest: test_persistent
|
788
|
-
----------------------------
|
789
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
790
|
-
[1m[35mProductTranslation Exists (0.8ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
791
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
792
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:55:03.524735"], ["updated_at", "2016-12-05 20:55:03.524735"]]
|
793
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 26], ["created_at", "2016-12-05 20:55:03.526709"], ["updated_at", "2016-12-05 20:55:03.526709"]]
|
794
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 26], ["created_at", "2016-12-05 20:55:03.529500"], ["updated_at", "2016-12-05 20:55:03.529500"]]
|
795
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
796
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 26]]
|
797
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 26]]
|
798
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
799
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 45]]
|
800
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 46]]
|
801
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 26]]
|
802
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
803
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
804
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
805
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
806
|
-
[1m[35m (0.3ms)[0m BEGIN
|
807
|
-
----------------------------
|
808
|
-
ProductTest: test_persistent
|
809
|
-
----------------------------
|
810
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
811
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
812
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
813
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:55:12.506246"], ["updated_at", "2016-12-05 20:55:12.506246"]]
|
814
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 27], ["created_at", "2016-12-05 20:55:12.507811"], ["updated_at", "2016-12-05 20:55:12.507811"]]
|
815
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 27], ["created_at", "2016-12-05 20:55:12.508991"], ["updated_at", "2016-12-05 20:55:12.508991"]]
|
816
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
817
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 27]]
|
818
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 27]]
|
819
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
820
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 47]]
|
821
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 48]]
|
822
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 27]]
|
823
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
824
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
825
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
826
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
827
|
-
----------------------------
|
828
|
-
GeneratorsTest: test_install
|
829
|
-
----------------------------
|
830
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
831
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
832
|
-
[1m[35m (0.2ms)[0m BEGIN
|
833
|
-
----------------------------
|
834
|
-
ProductTest: test_persistent
|
835
|
-
----------------------------
|
836
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
837
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
838
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
839
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:55:24.369251"], ["updated_at", "2016-12-05 20:55:24.369251"]]
|
840
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 28], ["created_at", "2016-12-05 20:55:24.370934"], ["updated_at", "2016-12-05 20:55:24.370934"]]
|
841
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 28], ["created_at", "2016-12-05 20:55:24.372177"], ["updated_at", "2016-12-05 20:55:24.372177"]]
|
842
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
843
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 28]]
|
844
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 28]]
|
845
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
846
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 49]]
|
847
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 50]]
|
848
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 28]]
|
849
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
850
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
851
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
852
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
853
|
-
----------------------------
|
854
|
-
GeneratorsTest: test_install
|
855
|
-
----------------------------
|
856
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
857
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
858
|
-
[1m[35m (0.3ms)[0m BEGIN
|
859
|
-
----------------------------
|
860
|
-
ProductTest: test_persistent
|
861
|
-
----------------------------
|
862
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
863
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
864
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
865
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:56:25.348765"], ["updated_at", "2016-12-05 20:56:25.348765"]]
|
866
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 29], ["created_at", "2016-12-05 20:56:25.350411"], ["updated_at", "2016-12-05 20:56:25.350411"]]
|
867
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 29], ["created_at", "2016-12-05 20:56:25.351630"], ["updated_at", "2016-12-05 20:56:25.351630"]]
|
868
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
869
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 29]]
|
870
|
-
[1m[36mProductTranslation Load (0.3ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 29]]
|
871
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
872
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 51]]
|
873
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 52]]
|
874
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 29]]
|
875
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
876
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
877
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
878
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
879
|
-
----------------------------
|
880
|
-
GeneratorsTest: test_install
|
881
|
-
----------------------------
|
882
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
883
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
884
|
-
[1m[35m (0.2ms)[0m BEGIN
|
885
|
-
----------------------------
|
886
|
-
GeneratorsTest: test_install
|
887
|
-
----------------------------
|
888
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
889
|
-
[1m[35m (0.2ms)[0m BEGIN
|
890
|
-
----------------------------
|
891
|
-
ProductTest: test_persistent
|
892
|
-
----------------------------
|
893
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
894
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
895
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
896
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:57:50.331754"], ["updated_at", "2016-12-05 20:57:50.331754"]]
|
897
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 30], ["created_at", "2016-12-05 20:57:50.337989"], ["updated_at", "2016-12-05 20:57:50.337989"]]
|
898
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 30], ["created_at", "2016-12-05 20:57:50.344390"], ["updated_at", "2016-12-05 20:57:50.344390"]]
|
899
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
900
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 30]]
|
901
|
-
[1m[36mProductTranslation Load (0.4ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 30]]
|
902
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
903
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 53]]
|
904
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 54]]
|
905
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 30]]
|
906
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
907
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
908
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
909
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
910
|
-
[1m[35m (0.2ms)[0m BEGIN
|
911
|
-
----------------------------
|
912
|
-
ProductTest: test_persistent
|
913
|
-
----------------------------
|
914
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
915
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
916
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
917
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:58:10.531196"], ["updated_at", "2016-12-05 20:58:10.531196"]]
|
918
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 31], ["created_at", "2016-12-05 20:58:10.532685"], ["updated_at", "2016-12-05 20:58:10.532685"]]
|
919
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 31], ["created_at", "2016-12-05 20:58:10.533774"], ["updated_at", "2016-12-05 20:58:10.533774"]]
|
920
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
921
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 31]]
|
922
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 31]]
|
923
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
924
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 55]]
|
925
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 56]]
|
926
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 31]]
|
927
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
928
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
929
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
930
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
931
|
-
----------------------------
|
932
|
-
GeneratorsTest: test_install
|
933
|
-
----------------------------
|
934
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
935
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
936
|
-
[1m[35m (0.2ms)[0m BEGIN
|
937
|
-
----------------------------
|
938
|
-
ProductTest: test_persistent
|
939
|
-
----------------------------
|
940
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
941
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
942
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
943
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:59:19.357281"], ["updated_at", "2016-12-05 20:59:19.357281"]]
|
944
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 32], ["created_at", "2016-12-05 20:59:19.358819"], ["updated_at", "2016-12-05 20:59:19.358819"]]
|
945
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 32], ["created_at", "2016-12-05 20:59:19.359854"], ["updated_at", "2016-12-05 20:59:19.359854"]]
|
946
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
947
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 32]]
|
948
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 32]]
|
949
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
950
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 57]]
|
951
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 58]]
|
952
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 32]]
|
953
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
954
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
955
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
956
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
957
|
-
----------------------------
|
958
|
-
GeneratorsTest: test_install
|
959
|
-
----------------------------
|
960
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
961
|
-
[1m[35m (0.2ms)[0m BEGIN
|
962
|
-
----------------------------
|
963
|
-
ProductTest: test_persistent
|
964
|
-
----------------------------
|
965
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
966
|
-
[1m[35m (0.2ms)[0m BEGIN
|
967
|
-
----------------------------
|
968
|
-
ProductTest: test_persistent
|
969
|
-
----------------------------
|
970
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
972
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
973
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:01:13.392406"], ["updated_at", "2016-12-05 21:01:13.392406"]]
|
974
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 33], ["created_at", "2016-12-05 21:01:13.393920"], ["updated_at", "2016-12-05 21:01:13.393920"]]
|
975
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 33], ["created_at", "2016-12-05 21:01:13.395075"], ["updated_at", "2016-12-05 21:01:13.395075"]]
|
976
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
977
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 33]]
|
978
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 33]]
|
979
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
980
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 59]]
|
981
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 60]]
|
982
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 33]]
|
983
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
984
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
985
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
986
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
987
|
-
----------------------------
|
988
|
-
GeneratorsTest: test_install
|
989
|
-
----------------------------
|
990
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
991
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
992
|
-
[1m[35m (0.3ms)[0m BEGIN
|
993
|
-
----------------------------
|
994
|
-
ProductTest: test_persistent
|
995
|
-
----------------------------
|
996
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
997
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
998
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
999
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:01:42.483432"], ["updated_at", "2016-12-05 21:01:42.483432"]]
|
1000
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 34], ["created_at", "2016-12-05 21:01:42.484993"], ["updated_at", "2016-12-05 21:01:42.484993"]]
|
1001
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 34], ["created_at", "2016-12-05 21:01:42.486097"], ["updated_at", "2016-12-05 21:01:42.486097"]]
|
1002
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1003
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 34]]
|
1004
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 34]]
|
1005
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1006
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 61]]
|
1007
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 62]]
|
1008
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 34]]
|
1009
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1010
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1011
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1012
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1013
|
-
----------------------------
|
1014
|
-
GeneratorsTest: test_install
|
1015
|
-
----------------------------
|
1016
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1017
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1018
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1019
|
-
----------------------------
|
1020
|
-
GeneratorsTest: test_install
|
1021
|
-
----------------------------
|
1022
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1023
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1024
|
-
----------------------------
|
1025
|
-
ProductTest: test_persistent
|
1026
|
-
----------------------------
|
1027
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1028
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1029
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1030
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:03:25.350735"], ["updated_at", "2016-12-05 21:03:25.350735"]]
|
1031
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 35], ["created_at", "2016-12-05 21:03:25.352354"], ["updated_at", "2016-12-05 21:03:25.352354"]]
|
1032
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 35], ["created_at", "2016-12-05 21:03:25.353502"], ["updated_at", "2016-12-05 21:03:25.353502"]]
|
1033
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1034
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 35]]
|
1035
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 35]]
|
1036
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1037
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 63]]
|
1038
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 64]]
|
1039
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 35]]
|
1040
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1041
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1042
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1043
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1044
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1045
|
-
----------------------------
|
1046
|
-
ProductTest: test_persistent
|
1047
|
-
----------------------------
|
1048
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1049
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1050
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1051
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:03:41.988114"], ["updated_at", "2016-12-05 21:03:41.988114"]]
|
1052
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 36], ["created_at", "2016-12-05 21:03:41.989694"], ["updated_at", "2016-12-05 21:03:41.989694"]]
|
1053
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 36], ["created_at", "2016-12-05 21:03:41.990814"], ["updated_at", "2016-12-05 21:03:41.990814"]]
|
1054
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1055
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 36]]
|
1056
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 36]]
|
1057
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1058
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 65]]
|
1059
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 66]]
|
1060
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 36]]
|
1061
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1062
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1063
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1064
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1065
|
-
----------------------------
|
1066
|
-
GeneratorsTest: test_install
|
1067
|
-
----------------------------
|
1068
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1069
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1070
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1071
|
-
----------------------------
|
1072
|
-
ProductTest: test_persistent
|
1073
|
-
----------------------------
|
1074
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1075
|
-
[1m[35mProductTranslation Exists (0.9ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1076
|
-
[1m[36mProductTranslation Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1077
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:03:51.258805"], ["updated_at", "2016-12-05 21:03:51.258805"]]
|
1078
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 37], ["created_at", "2016-12-05 21:03:51.260656"], ["updated_at", "2016-12-05 21:03:51.260656"]]
|
1079
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 37], ["created_at", "2016-12-05 21:03:51.262151"], ["updated_at", "2016-12-05 21:03:51.262151"]]
|
1080
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1081
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 37]]
|
1082
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 37]]
|
1083
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1084
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 67]]
|
1085
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 68]]
|
1086
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 37]]
|
1087
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1088
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1089
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1090
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1091
|
-
----------------------------
|
1092
|
-
GeneratorsTest: test_install
|
1093
|
-
----------------------------
|
1094
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1095
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1096
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1097
|
-
----------------------------
|
1098
|
-
GeneratorsTest: test_install
|
1099
|
-
----------------------------
|
1100
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1101
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1102
|
-
----------------------------
|
1103
|
-
ProductTest: test_persistent
|
1104
|
-
----------------------------
|
1105
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1106
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1107
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1108
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:04:00.167777"], ["updated_at", "2016-12-05 21:04:00.167777"]]
|
1109
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 38], ["created_at", "2016-12-05 21:04:00.169471"], ["updated_at", "2016-12-05 21:04:00.169471"]]
|
1110
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 38], ["created_at", "2016-12-05 21:04:00.170675"], ["updated_at", "2016-12-05 21:04:00.170675"]]
|
1111
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1112
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 38]]
|
1113
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 38]]
|
1114
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1115
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 69]]
|
1116
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 70]]
|
1117
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 38]]
|
1118
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1119
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1120
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1121
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1122
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1123
|
-
----------------------------
|
1124
|
-
ProductTest: test_persistent
|
1125
|
-
----------------------------
|
1126
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1127
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1128
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1129
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:04:10.397263"], ["updated_at", "2016-12-05 21:04:10.397263"]]
|
1130
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 39], ["created_at", "2016-12-05 21:04:10.398747"], ["updated_at", "2016-12-05 21:04:10.398747"]]
|
1131
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 39], ["created_at", "2016-12-05 21:04:10.399751"], ["updated_at", "2016-12-05 21:04:10.399751"]]
|
1132
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1133
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 39]]
|
1134
|
-
[1m[36mProductTranslation Load (0.3ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 39]]
|
1135
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1136
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 71]]
|
1137
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 72]]
|
1138
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 39]]
|
1139
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1140
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1141
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1142
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1143
|
-
----------------------------
|
1144
|
-
GeneratorsTest: test_install
|
1145
|
-
----------------------------
|
1146
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1147
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1148
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1149
|
-
----------------------------
|
1150
|
-
GeneratorsTest: test_install
|
1151
|
-
----------------------------
|
1152
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1153
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1154
|
-
----------------------------
|
1155
|
-
ProductTest: test_persistent
|
1156
|
-
----------------------------
|
1157
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1158
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1159
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1160
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:04:19.284772"], ["updated_at", "2016-12-05 21:04:19.284772"]]
|
1161
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 40], ["created_at", "2016-12-05 21:04:19.287326"], ["updated_at", "2016-12-05 21:04:19.287326"]]
|
1162
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 40], ["created_at", "2016-12-05 21:04:19.288533"], ["updated_at", "2016-12-05 21:04:19.288533"]]
|
1163
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1164
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 40]]
|
1165
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 40]]
|
1166
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1167
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 73]]
|
1168
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 74]]
|
1169
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 40]]
|
1170
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1171
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1172
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1173
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1174
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1175
|
-
----------------------------
|
1176
|
-
GeneratorsTest: test_install
|
1177
|
-
----------------------------
|
1178
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1179
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1180
|
-
----------------------------
|
1181
|
-
ProductTest: test_persistent
|
1182
|
-
----------------------------
|
1183
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1184
|
-
[1m[35mProductTranslation Exists (1.5ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1185
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1186
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:04.004635"], ["updated_at", "2016-12-05 21:05:04.004635"]]
|
1187
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 41], ["created_at", "2016-12-05 21:05:04.006311"], ["updated_at", "2016-12-05 21:05:04.006311"]]
|
1188
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 41], ["created_at", "2016-12-05 21:05:04.007555"], ["updated_at", "2016-12-05 21:05:04.007555"]]
|
1189
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1190
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 41]]
|
1191
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 41]]
|
1192
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1193
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 75]]
|
1194
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 76]]
|
1195
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 41]]
|
1196
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1197
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1198
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1199
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1200
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1201
|
-
----------------------------
|
1202
|
-
GeneratorsTest: test_install
|
1203
|
-
----------------------------
|
1204
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1205
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1206
|
-
----------------------------
|
1207
|
-
ProductTest: test_persistent
|
1208
|
-
----------------------------
|
1209
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1210
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1211
|
-
[1m[36mProductTranslation Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1212
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:10.772839"], ["updated_at", "2016-12-05 21:05:10.772839"]]
|
1213
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 42], ["created_at", "2016-12-05 21:05:10.775706"], ["updated_at", "2016-12-05 21:05:10.775706"]]
|
1214
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 42], ["created_at", "2016-12-05 21:05:10.777057"], ["updated_at", "2016-12-05 21:05:10.777057"]]
|
1215
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1216
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 42]]
|
1217
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 42]]
|
1218
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1219
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 77]]
|
1220
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 78]]
|
1221
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 42]]
|
1222
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1223
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1224
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1225
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1226
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1227
|
-
----------------------------
|
1228
|
-
GeneratorsTest: test_install
|
1229
|
-
----------------------------
|
1230
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1231
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1232
|
-
----------------------------
|
1233
|
-
ProductTest: test_persistent
|
1234
|
-
----------------------------
|
1235
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1236
|
-
[1m[35mProductTranslation Exists (1.5ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1237
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1238
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:17.269150"], ["updated_at", "2016-12-05 21:05:17.269150"]]
|
1239
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 43], ["created_at", "2016-12-05 21:05:17.271281"], ["updated_at", "2016-12-05 21:05:17.271281"]]
|
1240
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 43], ["created_at", "2016-12-05 21:05:17.273743"], ["updated_at", "2016-12-05 21:05:17.273743"]]
|
1241
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1242
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 43]]
|
1243
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 43]]
|
1244
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1245
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 79]]
|
1246
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 80]]
|
1247
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 43]]
|
1248
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1249
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1250
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1251
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1252
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1253
|
-
----------------------------
|
1254
|
-
ProductTest: test_persistent
|
1255
|
-
----------------------------
|
1256
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1257
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1258
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1259
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:29.599345"], ["updated_at", "2016-12-05 21:05:29.599345"]]
|
1260
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 44], ["created_at", "2016-12-05 21:05:29.600815"], ["updated_at", "2016-12-05 21:05:29.600815"]]
|
1261
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 44], ["created_at", "2016-12-05 21:05:29.601938"], ["updated_at", "2016-12-05 21:05:29.601938"]]
|
1262
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1263
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 44]]
|
1264
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 44]]
|
1265
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1266
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 81]]
|
1267
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 82]]
|
1268
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 44]]
|
1269
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1270
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1271
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1272
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1273
|
-
----------------------------
|
1274
|
-
GeneratorsTest: test_install
|
1275
|
-
----------------------------
|
1276
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1277
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1278
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1279
|
-
----------------------------
|
1280
|
-
ProductTest: test_persistent
|
1281
|
-
----------------------------
|
1282
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1283
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1284
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1285
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:39.627821"], ["updated_at", "2016-12-05 21:05:39.627821"]]
|
1286
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 45], ["created_at", "2016-12-05 21:05:39.629455"], ["updated_at", "2016-12-05 21:05:39.629455"]]
|
1287
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 45], ["created_at", "2016-12-05 21:05:39.631306"], ["updated_at", "2016-12-05 21:05:39.631306"]]
|
1288
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1289
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 45]]
|
1290
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 45]]
|
1291
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1292
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 83]]
|
1293
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 84]]
|
1294
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 45]]
|
1295
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1296
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1297
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1298
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1299
|
-
----------------------------
|
1300
|
-
GeneratorsTest: test_install
|
1301
|
-
----------------------------
|
1302
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1303
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1304
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1305
|
-
----------------------------
|
1306
|
-
GeneratorsTest: test_install
|
1307
|
-
----------------------------
|
1308
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1309
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1310
|
-
----------------------------
|
1311
|
-
ProductTest: test_persistent
|
1312
|
-
----------------------------
|
1313
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
1314
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1315
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1316
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:48.764819"], ["updated_at", "2016-12-05 21:05:48.764819"]]
|
1317
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 46], ["created_at", "2016-12-05 21:05:48.766470"], ["updated_at", "2016-12-05 21:05:48.766470"]]
|
1318
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 46], ["created_at", "2016-12-05 21:05:48.767516"], ["updated_at", "2016-12-05 21:05:48.767516"]]
|
1319
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1320
|
-
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 46]]
|
1321
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 46]]
|
1322
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1323
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 85]]
|
1324
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 86]]
|
1325
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 46]]
|
1326
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1327
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1328
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1329
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1330
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1331
|
-
----------------------------
|
1332
|
-
GeneratorsTest: test_install
|
1333
|
-
----------------------------
|
1334
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1335
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1336
|
-
----------------------------
|
1337
|
-
ProductTest: test_persistent
|
1338
|
-
----------------------------
|
1339
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1340
|
-
[1m[35mProductTranslation Exists (0.8ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1341
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1342
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:06:01.915991"], ["updated_at", "2016-12-05 21:06:01.915991"]]
|
1343
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 47], ["created_at", "2016-12-05 21:06:01.918541"], ["updated_at", "2016-12-05 21:06:01.918541"]]
|
1344
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 47], ["created_at", "2016-12-05 21:06:01.919644"], ["updated_at", "2016-12-05 21:06:01.919644"]]
|
1345
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1346
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 47]]
|
1347
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 47]]
|
1348
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1349
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 87]]
|
1350
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 88]]
|
1351
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 47]]
|
1352
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1353
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1354
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1355
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1356
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1357
|
-
----------------------------
|
1358
|
-
ProductTest: test_persistent
|
1359
|
-
----------------------------
|
1360
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1361
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1362
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1363
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:06:37.744032"], ["updated_at", "2016-12-05 21:06:37.744032"]]
|
1364
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 48], ["created_at", "2016-12-05 21:06:37.745574"], ["updated_at", "2016-12-05 21:06:37.745574"]]
|
1365
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 48], ["created_at", "2016-12-05 21:06:37.746688"], ["updated_at", "2016-12-05 21:06:37.746688"]]
|
1366
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1367
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 48]]
|
1368
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 48]]
|
1369
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1370
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 89]]
|
1371
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 90]]
|
1372
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 48]]
|
1373
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1374
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1375
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1376
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1377
|
-
----------------------------
|
1378
|
-
GeneratorsTest: test_install
|
1379
|
-
----------------------------
|
1380
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1381
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1382
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1383
|
-
----------------------------
|
1384
|
-
GeneratorsTest: test_install
|
1385
|
-
----------------------------
|
1386
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1387
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1388
|
-
----------------------------
|
1389
|
-
ProductTest: test_persistent
|
1390
|
-
----------------------------
|
1391
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1392
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1393
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1394
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:06:47.043462"], ["updated_at", "2016-12-05 21:06:47.043462"]]
|
1395
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 49], ["created_at", "2016-12-05 21:06:47.045103"], ["updated_at", "2016-12-05 21:06:47.045103"]]
|
1396
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 49], ["created_at", "2016-12-05 21:06:47.046244"], ["updated_at", "2016-12-05 21:06:47.046244"]]
|
1397
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1398
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 49]]
|
1399
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 49]]
|
1400
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1401
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 91]]
|
1402
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 92]]
|
1403
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 49]]
|
1404
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1405
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1406
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1407
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1408
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1409
|
-
----------------------------
|
1410
|
-
ProductTest: test_persistent
|
1411
|
-
----------------------------
|
1412
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1413
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1414
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1415
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:07:48.369380"], ["updated_at", "2016-12-05 21:07:48.369380"]]
|
1416
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 50], ["created_at", "2016-12-05 21:07:48.370787"], ["updated_at", "2016-12-05 21:07:48.370787"]]
|
1417
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 50], ["created_at", "2016-12-05 21:07:48.371769"], ["updated_at", "2016-12-05 21:07:48.371769"]]
|
1418
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1419
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 50]]
|
1420
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 50]]
|
1421
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1422
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 93]]
|
1423
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 94]]
|
1424
|
-
[1m[36mSQL (0.8ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 50]]
|
1425
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1426
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1427
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1428
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1429
|
-
----------------------------
|
1430
|
-
GeneratorsTest: test_install
|
1431
|
-
----------------------------
|
1432
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1433
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1434
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1435
|
-
----------------------------
|
1436
|
-
ProductTest: test_persistent
|
1437
|
-
----------------------------
|
1438
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1439
|
-
[1m[35mProductTranslation Exists (0.6ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1440
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1441
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:09:49.410105"], ["updated_at", "2016-12-05 21:09:49.410105"]]
|
1442
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 51], ["created_at", "2016-12-05 21:09:49.411619"], ["updated_at", "2016-12-05 21:09:49.411619"]]
|
1443
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 51], ["created_at", "2016-12-05 21:09:49.412696"], ["updated_at", "2016-12-05 21:09:49.412696"]]
|
1444
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1445
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 51]]
|
1446
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 51]]
|
1447
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1448
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 95]]
|
1449
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 96]]
|
1450
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 51]]
|
1451
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1452
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1453
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1454
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1455
|
-
----------------------------
|
1456
|
-
GeneratorsTest: test_install
|
1457
|
-
----------------------------
|
1458
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1459
|
-
[1m[36mActiveRecord::SchemaMigration Load (26.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1460
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1461
|
-
----------------------------
|
1462
|
-
GeneratorsTest: test_install
|
1463
|
-
----------------------------
|
1464
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1465
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1466
|
-
----------------------------
|
1467
|
-
ProductTest: test_persistent
|
1468
|
-
----------------------------
|
1469
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1470
|
-
[1m[35mProductTranslation Exists (24.8ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1471
|
-
[1m[36mProductTranslation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1472
|
-
[1m[35mSQL (2.0ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:29:31.078254"], ["updated_at", "2016-12-13 20:29:31.078254"]]
|
1473
|
-
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 52], ["created_at", "2016-12-13 20:29:31.081643"], ["updated_at", "2016-12-13 20:29:31.081643"]]
|
1474
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 52], ["created_at", "2016-12-13 20:29:31.084802"], ["updated_at", "2016-12-13 20:29:31.084802"]]
|
1475
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1476
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 52]]
|
1477
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 52]]
|
1478
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1479
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 97]]
|
1480
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 98]]
|
1481
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 52]]
|
1482
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1483
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1484
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1485
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1486
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1487
|
-
----------------------------
|
1488
|
-
GeneratorsTest: test_install
|
1489
|
-
----------------------------
|
1490
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1491
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1492
|
-
----------------------------
|
1493
|
-
ProductTest: test_persistent
|
1494
|
-
----------------------------
|
1495
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1496
|
-
[1m[35mProductTranslation Exists (0.7ms)[0m SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1
|
1497
|
-
[1m[36mProductTranslation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1[0m
|
1498
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:30:16.263393"], ["updated_at", "2016-12-13 20:30:16.263393"]]
|
1499
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["locale", "en"], ["name", "phone"], ["product_id", 53], ["created_at", "2016-12-13 20:30:16.264872"], ["updated_at", "2016-12-13 20:30:16.264872"]]
|
1500
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 53], ["created_at", "2016-12-13 20:30:16.265837"], ["updated_at", "2016-12-13 20:30:16.265837"]]
|
1501
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1502
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 53]]
|
1503
|
-
[1m[36mProductTranslation Load (0.2ms)[0m [1mSELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1[0m [["product_id", 53]]
|
1504
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1505
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "product_translations" WHERE "product_translations"."id" = $1[0m [["id", 99]]
|
1506
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 100]]
|
1507
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 53]]
|
1508
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1509
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "product_translations"[0m
|
1510
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1511
|
-
[1m[36m (19.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1512
|
-
[1m[35m (16.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1513
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1514
|
-
Migrating to CreateProducts (20130819155126)
|
1515
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1516
|
-
[1m[36m (7.9ms)[0m [1mCREATE TABLE "products" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
1517
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130819155126"]]
|
1518
|
-
[1m[36m (6.4ms)[0m [1mCOMMIT[0m
|
1519
|
-
Migrating to CreateProductTranslations (20161205171056)
|
1520
|
-
[1m[35m (11.7ms)[0m BEGIN
|
1521
|
-
[1m[36m (12.9ms)[0m [1mCREATE TABLE "product_translations" ("id" serial primary key, "product_id" integer, "locale" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
1522
|
-
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_product_translations_on_product_id_and_locale" ON "product_translations" ("product_id", "locale")
|
1523
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20161205171056"]]
|
1524
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1525
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1526
|
-
[1m[35m (1.7ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1527
|
-
FROM pg_constraint c
|
1528
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1529
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1530
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1531
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1532
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1533
|
-
WHERE c.contype = 'f'
|
1534
|
-
AND t1.relname = 'product_translations'
|
1535
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1536
|
-
ORDER BY c.conname
|
1537
|
-
|
1538
|
-
[1m[36m (1.9ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1539
|
-
FROM pg_constraint c
|
1540
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1541
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1542
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1543
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1544
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1545
|
-
WHERE c.contype = 'f'
|
1546
|
-
AND t1.relname = 'products'
|
1547
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1548
|
-
ORDER BY c.conname
|
1549
|
-
[0m
|