csv_import_magic 0.0.2 → 0.0.3
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/app/controllers/csv_import_magic/importers_controller.rb +6 -0
- data/lib/csv_import_magic/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +13 -0
- data/spec/dummy/log/test.log +3146 -0
- data/spec/dummy/public/system/importers/attachment_errors/000/000/001/original/failures20170406-94335-1j4fnr0.csv +2 -0
- data/spec/dummy/public/system/importers/attachment_errors/000/000/001/original/failures20170602-53937-1jv81f1.csv +2 -0
- data/spec/dummy/public/system/importers/attachment_errors/000/000/001/original/failures20170602-54115-m6aill.csv +2 -0
- data/spec/dummy/public/system/importers/attachment_errors/000/000/001/original/failures20170602-54234-sjr6h8.csv +2 -0
- data/spec/examples.txt +49 -48
- metadata +10 -2
data/spec/dummy/log/test.log
CHANGED
|
@@ -88144,3 +88144,3149 @@ Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465
|
|
|
88144
88144
|
[1m[35m (0.1ms)[0m commit transaction
|
|
88145
88145
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88146
88146
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
88147
|
+
[1m[36m (2.3ms)[0m [1mDELETE FROM "companies";[0m
|
|
88148
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
88149
|
+
[1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
|
88150
|
+
[1m[35m (1.0ms)[0m DELETE FROM "importers";
|
|
88151
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
88152
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
|
88153
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "users";[0m
|
|
88154
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
88155
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
|
88156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88157
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88158
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88159
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-fc5ffv'
|
|
88160
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-37ry8.csv'
|
|
88161
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88162
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-813v91.csv'
|
|
88163
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88164
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:50.610804"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:50.670623"], ["updated_at", "2017-04-06 21:09:50.670623"]]
|
|
88165
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88166
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88167
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88168
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88169
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88171
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
88174
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-j9rlwf'
|
|
88175
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-cp1hy0.csv'
|
|
88176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88177
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-iyvvi.csv'
|
|
88178
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88179
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:50.702593"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- ignore\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:50.735485"], ["updated_at", "2017-04-06 21:09:50.735485"]]
|
|
88180
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88181
|
+
[1m[36mImporter Load (0.3ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88182
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
88183
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
88184
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88185
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88186
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88187
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
88188
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-tzgyaj'
|
|
88189
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-7kqzcv.csv'
|
|
88190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88192
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88195
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88197
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
88198
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1vsfss7'
|
|
88199
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-x7cti4.csv'
|
|
88200
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88201
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-7bicbi.csv'
|
|
88202
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88203
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:50.938217"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 2], ["created_at", "2017-04-06 21:09:50.967550"], ["updated_at", "2017-04-06 21:09:50.967550"]]
|
|
88204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88205
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88206
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88207
|
+
[1m[35mCompany Load (0.3ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1 [["user_id", 1], ["name", "foo"]]
|
|
88208
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
88209
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88210
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88211
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88212
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
88213
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1a36hqy'
|
|
88214
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-a6eg2h.csv'
|
|
88215
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88216
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-fg3i79.csv'
|
|
88217
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88218
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.032560"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.065971"], ["updated_at", "2017-04-06 21:09:51.065971"]]
|
|
88219
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88220
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88221
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
88222
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88223
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88224
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88226
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88228
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88230
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88231
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88232
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88234
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88236
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
88237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88238
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88240
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88242
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88244
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88248
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88249
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88250
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88252
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88253
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88256
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88257
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88258
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88259
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88260
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88261
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88263
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88264
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88265
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88266
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88267
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88268
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88270
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1ct66rs'
|
|
88271
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1fh2na6.csv'
|
|
88272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88273
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-z5io7d.csv'
|
|
88274
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88275
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.154000"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.181603"], ["updated_at", "2017-04-06 21:09:51.181603"]]
|
|
88276
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88277
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88278
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88279
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["status", "success"], ["message", "Seus registros foram importados com sucesso!"], ["updated_at", "2017-04-06 21:09:51.215094"], ["id", 1]]
|
|
88280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88281
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
88282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88283
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88285
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-10n94va'
|
|
88286
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1rgaek5.csv'
|
|
88287
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88288
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-12kfqan.csv'
|
|
88289
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.235398"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.263273"], ["updated_at", "2017-04-06 21:09:51.263273"]]
|
|
88291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88292
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88293
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88294
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88296
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "importers"
|
|
88297
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88298
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88299
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88300
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
88301
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007f9a34fc0cf8 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1e0xa3q>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
88302
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1e0xa3q'
|
|
88303
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1aezs4f.csv'
|
|
88304
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88305
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1ui4ot8.csv'
|
|
88306
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.302028"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 21:09:51.329218"], ["updated_at", "2017-04-06 21:09:51.329218"]]
|
|
88307
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88308
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88309
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
88310
|
+
Completed 302 Found in 54ms (ActiveRecord: 0.5ms)
|
|
88311
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
|
88312
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88314
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
88315
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88316
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88317
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88318
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88319
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
88320
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007f9a34ec3a80 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1sftryk>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
88321
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1sftryk'
|
|
88322
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1vxkz6m.csv'
|
|
88323
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88324
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-14bxdmb.csv'
|
|
88325
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.364222"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 21:09:51.392402"], ["updated_at", "2017-04-06 21:09:51.392402"]]
|
|
88326
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88327
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88328
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
88329
|
+
Completed 302 Found in 52ms (ActiveRecord: 0.4ms)
|
|
88330
|
+
[1m[35mImporter Load (0.5ms)[0m SELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1
|
|
88331
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88333
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88334
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88335
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88336
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88337
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88338
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
88339
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
88340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88341
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
88342
|
+
Redirected to http://example.com
|
|
88343
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
|
|
88344
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88346
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88348
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-rriz7f'
|
|
88349
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-ec8nwn.csv'
|
|
88350
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88351
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-180d5t8.csv'
|
|
88352
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.439018"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.470590"], ["updated_at", "2017-04-06 21:09:51.470590"]]
|
|
88354
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88355
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
|
88356
|
+
Parameters: {"id"=>"1"}
|
|
88357
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88358
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.3ms)
|
|
88359
|
+
Completed 200 OK in 18ms (Views: 17.7ms | ActiveRecord: 0.1ms)
|
|
88360
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88361
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88363
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88365
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1d9xxwj'
|
|
88366
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-e76cux.csv'
|
|
88367
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88368
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-xgn5vi.csv'
|
|
88369
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88370
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.520398"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.548041"], ["updated_at", "2017-04-06 21:09:51.548041"]]
|
|
88371
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88372
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88373
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88374
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88376
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:09:51.559103"], ["id", 1]]
|
|
88377
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88378
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
88379
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.3ms)
|
|
88380
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
88381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88382
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88383
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88384
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-16vss43'
|
|
88385
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1p62s7v.csv'
|
|
88386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88387
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-19kh9fy.csv'
|
|
88388
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88389
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.589206"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.621032"], ["updated_at", "2017-04-06 21:09:51.621032"]]
|
|
88390
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88391
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88392
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88393
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88395
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:09:51.633386"], ["id", 1]]
|
|
88396
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88397
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
88398
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.3ms)
|
|
88399
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88400
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
88401
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88402
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88403
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88404
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1fz1cxm'
|
|
88405
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-612ywf.csv'
|
|
88406
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88407
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-d79ugv.csv'
|
|
88408
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88409
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.668029"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.697347"], ["updated_at", "2017-04-06 21:09:51.697347"]]
|
|
88410
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88411
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88412
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88413
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88414
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88415
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:09:51.709866"], ["id", 1]]
|
|
88416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88417
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
88418
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.3ms)
|
|
88419
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
88420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88421
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
88422
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88423
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-t3zgds'
|
|
88424
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-3yggla.csv'
|
|
88425
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88426
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-itac29.csv'
|
|
88427
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88428
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.735565"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.765205"], ["updated_at", "2017-04-06 21:09:51.765205"]]
|
|
88429
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88430
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88431
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88432
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88433
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88434
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
88435
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.1ms)
|
|
88436
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
|
88437
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
88438
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88439
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
88440
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88441
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-689491'
|
|
88442
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-14fla3k.csv'
|
|
88443
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88444
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-ajhjq2.csv'
|
|
88445
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88446
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.800070"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.832034"], ["updated_at", "2017-04-06 21:09:51.832034"]]
|
|
88447
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88448
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
|
88449
|
+
Parameters: {"id"=>"1"}
|
|
88450
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88451
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.4ms)
|
|
88452
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)
|
|
88453
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
88454
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88455
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88456
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
88457
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170406-94054-i2x3ei'
|
|
88458
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-94054-vz86fy.csv'
|
|
88459
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88460
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-94054-15d8mgk.csv'
|
|
88461
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88462
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies_invalid.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 152], ["attachment_updated_at", "2017-04-06 21:09:51.866542"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:51.896519"], ["updated_at", "2017-04-06 21:09:51.896519"]]
|
|
88463
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88464
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88465
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
88466
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88467
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88468
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
88469
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88470
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
88471
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88472
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88473
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88474
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88475
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88476
|
+
[1m[36m (0.3ms)[0m [1mcommit transaction[0m
|
|
88477
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88478
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88479
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88480
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
88481
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88482
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88483
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88484
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88485
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88486
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
88487
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88488
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88489
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88490
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88492
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88494
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1n955px'
|
|
88495
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1euxcms.csv'
|
|
88496
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88497
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1lpxj9x.csv'
|
|
88498
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88499
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:51.978740"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:52.007519"], ["updated_at", "2017-04-06 21:09:52.007519"]]
|
|
88500
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88501
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
88502
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88503
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88505
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-9iwv5g'
|
|
88506
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1koeo3o.csv'
|
|
88507
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88508
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-yl7ymi.csv'
|
|
88509
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88510
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:52.029325"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:52.059214"], ["updated_at", "2017-04-06 21:09:52.059214"]]
|
|
88511
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88512
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88513
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88514
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88515
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88516
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-197pp6u'
|
|
88517
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-b112qf.csv'
|
|
88518
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88519
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-189zr8j.csv'
|
|
88520
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88521
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:52.084342"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:52.115669"], ["updated_at", "2017-04-06 21:09:52.115669"]]
|
|
88522
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88523
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88524
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88525
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88526
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
88527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88528
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-12z9zx7'
|
|
88529
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-phhqqm.csv'
|
|
88530
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88531
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-19qpgnq.csv'
|
|
88532
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88533
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:52.141097"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "foo_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:52.174550"], ["updated_at", "2017-04-06 21:09:52.174550"]]
|
|
88534
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88535
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88536
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
88537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88538
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
88539
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88540
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1xr0a59'
|
|
88541
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-s7n6vy.csv'
|
|
88542
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170406-94054-1nbi8z5'
|
|
88543
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88544
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88545
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88547
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-rdot73'
|
|
88548
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-12u0h0y.csv'
|
|
88549
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-bli3mf.csv'
|
|
88550
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1g3eqmr.csv'
|
|
88551
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1qtyq2p.csv'
|
|
88552
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-deji3z.csv'
|
|
88553
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88554
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88555
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88556
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88557
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-k4btzm'
|
|
88558
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-12hsow9.csv'
|
|
88559
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-jk36hl.csv'
|
|
88560
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88561
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88562
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88563
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88564
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-ki9v1d'
|
|
88565
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1z04ob7.csv'
|
|
88566
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-cvzbq4.csv'
|
|
88567
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-rzng7b.csv'
|
|
88568
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1m8c7wy.csv'
|
|
88569
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-rszrfu.csv'
|
|
88570
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-i67swv.csv'
|
|
88571
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-16pvpbz.csv'
|
|
88572
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88574
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
|
88575
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88576
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1vq5mvl'
|
|
88577
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-16fibjb.csv'
|
|
88578
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88580
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88582
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-aw2evz'
|
|
88583
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-rwwlpl.csv'
|
|
88584
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88586
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88588
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-125a7e9'
|
|
88589
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1fywvqb.csv'
|
|
88590
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-ae09oq.csv'
|
|
88591
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1ndwlbf.csv'
|
|
88592
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-jimye0.csv'
|
|
88593
|
+
[paperclip] Content Type Spoof: Filename companies.csv (application/vnd.ms-excel from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
88594
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-87n36k.csv'
|
|
88595
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/png from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
88596
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1raaetb.csv'
|
|
88597
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/gif from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
88598
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1apimnt.csv'
|
|
88599
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88600
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88601
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88603
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-1jf0u9k'
|
|
88604
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-13eciyu.csv'
|
|
88605
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88606
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-pr0mf2.csv'
|
|
88607
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88608
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:09:52.707659"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:09:52.740461"], ["updated_at", "2017-04-06 21:09:52.740461"]]
|
|
88609
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88610
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88612
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
88613
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88614
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-wfmwfo'
|
|
88615
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-db4m8z.csv'
|
|
88616
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1w0ik8v.csv'
|
|
88617
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94054-c1bpuz'
|
|
88618
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-nh9s4p.csv'
|
|
88619
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94054-1fa1pdf.csv'
|
|
88620
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88622
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88624
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
88625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88626
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88628
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88630
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88632
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88633
|
+
[1m[36m (1.9ms)[0m [1mDELETE FROM "companies";[0m
|
|
88634
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
88635
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
|
88636
|
+
[1m[35m (0.9ms)[0m DELETE FROM "importers";
|
|
88637
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
88638
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
|
88639
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "users";[0m
|
|
88640
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
88641
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
|
88642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88643
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88645
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1yrkpfy'
|
|
88646
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1iqv9t.csv'
|
|
88647
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88648
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1c8x1f5.csv'
|
|
88649
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88650
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.041279"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.096445"], ["updated_at", "2017-04-06 21:10:06.096445"]]
|
|
88651
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88652
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88653
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88654
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88655
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88656
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88657
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88658
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88659
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88660
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88661
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88663
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88665
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
88666
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88667
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88668
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88669
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88670
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88671
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88673
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88674
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88675
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88676
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88677
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88678
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
88679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88681
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88682
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88683
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88685
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88687
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88689
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88690
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88691
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88693
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88694
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88695
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88697
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88698
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88699
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88700
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88701
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88702
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88703
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88705
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88707
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88709
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88711
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-15vzd41'
|
|
88712
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1siwdpa.csv'
|
|
88713
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88714
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-19p1d77.csv'
|
|
88715
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88716
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.196357"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.223386"], ["updated_at", "2017-04-06 21:10:06.223386"]]
|
|
88717
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88718
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
88719
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88720
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88721
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
88722
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-19v02xd'
|
|
88723
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1s2rdj0.csv'
|
|
88724
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88725
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1woqi9y.csv'
|
|
88726
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88727
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.257522"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.289617"], ["updated_at", "2017-04-06 21:10:06.289617"]]
|
|
88728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88729
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88730
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88731
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["status", "success"], ["message", "Seus registros foram importados com sucesso!"], ["updated_at", "2017-04-06 21:10:06.315721"], ["id", 1]]
|
|
88732
|
+
[1m[36m (21.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88733
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88735
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88736
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88737
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170406-94183-v5vntj'
|
|
88738
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-94183-11kwtgl.csv'
|
|
88739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88740
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-94183-1licqm7.csv'
|
|
88741
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88742
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies_invalid.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 152], ["attachment_updated_at", "2017-04-06 21:10:06.357933"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.387739"], ["updated_at", "2017-04-06 21:10:06.387739"]]
|
|
88743
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88744
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88745
|
+
[1m[36mCompany Load (0.1ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
88746
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
88747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88748
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88750
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
88751
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1t5lyoq'
|
|
88752
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1epbfqi.csv'
|
|
88753
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88754
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1kgs0v6.csv'
|
|
88755
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88756
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.467814"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- ignore\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.497647"], ["updated_at", "2017-04-06 21:10:06.497647"]]
|
|
88757
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88758
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88759
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
88760
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88762
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88764
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
88765
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-bvk6nu'
|
|
88766
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-13jgcz8.csv'
|
|
88767
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88769
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88771
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88772
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88773
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88774
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
88775
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-cxebxs'
|
|
88776
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-15qsmj3.csv'
|
|
88777
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88778
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1xd9xg4.csv'
|
|
88779
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88780
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.612633"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 2], ["created_at", "2017-04-06 21:10:06.641046"], ["updated_at", "2017-04-06 21:10:06.641046"]]
|
|
88781
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88782
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88783
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88784
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1 [["user_id", 1], ["name", "foo"]]
|
|
88785
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88787
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88788
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88789
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
88790
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-b0nd1x'
|
|
88791
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1mi6epd.csv'
|
|
88792
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88793
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1llzrwr.csv'
|
|
88794
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88795
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.700362"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.733261"], ["updated_at", "2017-04-06 21:10:06.733261"]]
|
|
88796
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88797
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88798
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
88799
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
88800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88801
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88803
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88805
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88807
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88809
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88811
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88813
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88815
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
88816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88817
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88818
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88819
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-969wba'
|
|
88820
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1ofd78l.csv'
|
|
88821
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
88822
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-71qi0k.csv'
|
|
88823
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88824
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.805621"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.838662"], ["updated_at", "2017-04-06 21:10:06.838662"]]
|
|
88825
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88826
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88827
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88828
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88829
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88830
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
88831
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.2ms)
|
|
88832
|
+
Completed 200 OK in 17ms (Views: 11.6ms | ActiveRecord: 0.3ms)
|
|
88833
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
88834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88835
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88836
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88837
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1v2edqk'
|
|
88838
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-wsqva1.csv'
|
|
88839
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88840
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1iazs62.csv'
|
|
88841
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88842
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.886019"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.920949"], ["updated_at", "2017-04-06 21:10:06.920949"]]
|
|
88843
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88844
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88845
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88846
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88847
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88848
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:10:06.930639"], ["id", 1]]
|
|
88849
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88850
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
88851
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.4ms)
|
|
88852
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88854
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88856
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1dx3uyh'
|
|
88857
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-i3yxok.csv'
|
|
88858
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88859
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-usbsqc.csv'
|
|
88860
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88861
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:06.967223"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:06.996527"], ["updated_at", "2017-04-06 21:10:06.996527"]]
|
|
88862
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88863
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88864
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88865
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88867
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:10:07.008017"], ["id", 1]]
|
|
88868
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88869
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
88870
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.3ms)
|
|
88871
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
88872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88873
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88874
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88875
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-4ns6yp'
|
|
88876
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-9gvpdi.csv'
|
|
88877
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88878
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-13erv8z.csv'
|
|
88879
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88880
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.033934"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:07.063486"], ["updated_at", "2017-04-06 21:10:07.063486"]]
|
|
88881
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88882
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
88883
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
88884
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88885
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88886
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:10:07.077041"], ["id", 1]]
|
|
88887
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88888
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
88889
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.2ms)
|
|
88890
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88891
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
88892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88893
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88895
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88896
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88898
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
88899
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fb956ec93e0 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-x9c4uk>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
88900
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-x9c4uk'
|
|
88901
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-18bzxnd.csv'
|
|
88902
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88903
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-rnvddj.csv'
|
|
88904
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.110335"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 21:10:07.139475"], ["updated_at", "2017-04-06 21:10:07.139475"]]
|
|
88905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88906
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88907
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
88908
|
+
Completed 302 Found in 57ms (ActiveRecord: 0.5ms)
|
|
88909
|
+
[1m[36mImporter Load (0.2ms)[0m [1mSELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1[0m
|
|
88910
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
88911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
88912
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
88913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88914
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
|
88915
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88916
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88917
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88918
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
88919
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fb956d69ce8 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1f19hle>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
88920
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1f19hle'
|
|
88921
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-521l1m.csv'
|
|
88922
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88923
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-xfw110.csv'
|
|
88924
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.182102"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 21:10:07.211090"], ["updated_at", "2017-04-06 21:10:07.211090"]]
|
|
88925
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88926
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88927
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
88928
|
+
Completed 302 Found in 55ms (ActiveRecord: 0.4ms)
|
|
88929
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
|
88930
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88932
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88935
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88936
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88937
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
88938
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
88939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
88940
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
88941
|
+
Redirected to http://example.com
|
|
88942
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
|
88943
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
88944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88945
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
88946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
88947
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1vygulf'
|
|
88948
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-18f2zjm.csv'
|
|
88949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
88950
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-bfnbk4.csv'
|
|
88951
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88952
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.249210"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:07.283160"], ["updated_at", "2017-04-06 21:10:07.283160"]]
|
|
88953
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
88954
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
|
88955
|
+
Parameters: {"id"=>"1"}
|
|
88956
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88957
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.3ms)
|
|
88958
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
|
88959
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88960
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88961
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88963
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1rvm65i'
|
|
88964
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-a5jif8.csv'
|
|
88965
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88966
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-113o1ym.csv'
|
|
88967
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88968
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.316225"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:07.347304"], ["updated_at", "2017-04-06 21:10:07.347304"]]
|
|
88969
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88970
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
|
88971
|
+
Parameters: {"id"=>"1"}
|
|
88972
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
88973
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.1ms)
|
|
88974
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
|
88975
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
88976
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
88977
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88978
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88980
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88981
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88982
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88984
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
88985
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88986
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88987
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88988
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-cgz1s4'
|
|
88989
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1ema7k5.csv'
|
|
88990
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
88991
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-ickz30.csv'
|
|
88992
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
88993
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.404544"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:07.437228"], ["updated_at", "2017-04-06 21:10:07.437228"]]
|
|
88994
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
88995
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
88996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88997
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
88998
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
88999
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-3jco1i'
|
|
89000
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-whfijq.csv'
|
|
89001
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89002
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1ljxxmf.csv'
|
|
89003
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89004
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.464483"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:07.491922"], ["updated_at", "2017-04-06 21:10:07.491922"]]
|
|
89005
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89006
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
89007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89008
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
89009
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89010
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-10vbh5e'
|
|
89011
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-15x2xma.csv'
|
|
89012
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89013
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-ae4xkr.csv'
|
|
89014
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89015
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.514588"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "foo_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:07.547365"], ["updated_at", "2017-04-06 21:10:07.547365"]]
|
|
89016
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89017
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89018
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
89019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89020
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
89021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89022
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1diabab'
|
|
89023
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-2agf65.csv'
|
|
89024
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89025
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-19t4a4d.csv'
|
|
89026
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89027
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:07.569306"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:07.600028"], ["updated_at", "2017-04-06 21:10:07.600028"]]
|
|
89028
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89029
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89030
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
89031
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89032
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89033
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89034
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1nv519z'
|
|
89035
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-htgfpg.csv'
|
|
89036
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-16przre.csv'
|
|
89037
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1ue8pst.csv'
|
|
89038
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1ju5ydf.csv'
|
|
89039
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-qcj95k.csv'
|
|
89040
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1m32vgb.csv'
|
|
89041
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-p2pt1n.csv'
|
|
89042
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89044
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89046
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-gdcud3'
|
|
89047
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1dthstp.csv'
|
|
89048
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89049
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89050
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
89051
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89052
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1af9yrt'
|
|
89053
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-se5kmw.csv'
|
|
89054
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170406-94183-8lj9te'
|
|
89055
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89056
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89057
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89058
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89059
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-j2tynj'
|
|
89060
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1191fva.csv'
|
|
89061
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
89062
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89063
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89064
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89065
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-riq2p6'
|
|
89066
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1wht370.csv'
|
|
89067
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-3nosjt.csv'
|
|
89068
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89069
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
89070
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89071
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89072
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-ahuyhb'
|
|
89073
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-z20zx8.csv'
|
|
89074
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1yonfq0.csv'
|
|
89075
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-rtnc79.csv'
|
|
89076
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-l2th65.csv'
|
|
89077
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-impp9r.csv'
|
|
89078
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89079
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89080
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
89081
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89082
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-19h97e'
|
|
89083
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-nfyya.csv'
|
|
89084
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-9x81pf.csv'
|
|
89085
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-2qgzy4.csv'
|
|
89086
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1ol2ebe.csv'
|
|
89087
|
+
[paperclip] Content Type Spoof: Filename companies.csv (application/vnd.ms-excel from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89088
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1j2yqtc.csv'
|
|
89089
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/png from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89090
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1alk5tu.csv'
|
|
89091
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/gif from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89092
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1czushh.csv'
|
|
89093
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89094
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89095
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89097
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-1qhqxn'
|
|
89098
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1y856sk.csv'
|
|
89099
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89100
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-1nb97w.csv'
|
|
89101
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89102
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:08.142818"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:08.178256"], ["updated_at", "2017-04-06 21:10:08.178256"]]
|
|
89103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89104
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
89105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89106
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89108
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-lx71g7'
|
|
89109
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-l9u02.csv'
|
|
89110
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-lsqji1.csv'
|
|
89111
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94183-qhtp6s'
|
|
89112
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-181f536.csv'
|
|
89113
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94183-15xzqrk.csv'
|
|
89114
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89116
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89118
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89119
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
89120
|
+
Migrating to AddsAdditionalDataToImporters (20170405100034)
|
|
89121
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89122
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "importers" ADD "additional_data" varchar[0m
|
|
89123
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170405100034"]]
|
|
89124
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
|
89125
|
+
Migrating to AddsAdditionalAttributesToCompany (20170505100034)
|
|
89126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89127
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "companies" ADD "one_additional_attribute" varchar[0m
|
|
89128
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "companies" ADD "other_additional_attribute" varchar
|
|
89129
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170505100034"]]
|
|
89130
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
89131
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
89132
|
+
[1m[36m (1.6ms)[0m [1mDELETE FROM "companies";[0m
|
|
89133
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
89134
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
|
89135
|
+
[1m[35m (0.8ms)[0m DELETE FROM "importers";
|
|
89136
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
89137
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
|
89138
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "users";[0m
|
|
89139
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
89140
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
|
89141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89142
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89144
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-5iemyf'
|
|
89145
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-buo6v1.csv'
|
|
89146
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89147
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-dysjmq.csv'
|
|
89148
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89149
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:32.341367"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:32.396467"], ["updated_at", "2017-04-06 21:10:32.396467"]]
|
|
89150
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89152
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89154
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
89155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89156
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89158
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89160
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89162
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89163
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89164
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89168
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
89169
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89170
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89172
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89173
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89174
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
89175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89176
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89178
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89180
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
89183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89184
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89186
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170406-94335-zo6dk7'
|
|
89187
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-94335-x43pkq.csv'
|
|
89188
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89189
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-94335-12wp5p7.csv'
|
|
89190
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89191
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies_invalid.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 152], ["attachment_updated_at", "2017-04-06 21:10:32.487182"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:32.524479"], ["updated_at", "2017-04-06 21:10:32.524479"]]
|
|
89192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89193
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89194
|
+
[1m[36mCompany Load (0.4ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
89195
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89196
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
89197
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
|
89198
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89199
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89201
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/failures20170406-94335-1j4fnr0.csv'
|
|
89202
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/b67628934b218fc18f00c226e1de766020170406-94335-ji1kqx.csv'
|
|
89203
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/b67628934b218fc18f00c226e1de766020170406-94335-38ca15.csv'
|
|
89204
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "importers" SET "status" = ?, "message" = ?, "attachment_error_file_name" = ?, "attachment_error_content_type" = ?, "attachment_error_file_size" = ?, "attachment_error_updated_at" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["status", "error"], ["message", "Alguns registros não foram importados pois contém erros!"], ["attachment_error_file_name", "failures20170406-94335-1j4fnr0.csv"], ["attachment_error_content_type", "text/plain"], ["attachment_error_file_size", 127], ["attachment_error_updated_at", "2017-04-06 21:10:32.619639"], ["updated_at", "2017-04-06 21:10:32.646822"], ["id", 1]]
|
|
89205
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89206
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89207
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
89208
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89209
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89210
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89211
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89213
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89215
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89217
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89218
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89219
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89220
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89221
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89222
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89223
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89225
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89226
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89227
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89228
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89229
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89231
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89232
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89233
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
89234
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89235
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89236
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-zz4t51'
|
|
89237
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-qrggwu.csv'
|
|
89238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89239
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1m0xvku.csv'
|
|
89240
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89241
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "additional_data", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:32.732849"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["additional_data", "\"{\\\"one_additional_attribute\\\": \\\"importer-attr\\\", \\\"other_additional_attribute\\\": \\\"other-importer-attr\\\"}\""], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:32.764463"], ["updated_at", "2017-04-06 21:10:32.764463"]]
|
|
89242
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89243
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89244
|
+
[1m[36mCompany Load (0.1ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
89245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89246
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country", "one_additional_attribute", "other_additional_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""], ["one_additional_attribute", "importer-attr"], ["other_additional_attribute", "other-importer-attr"]]
|
|
89247
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
|
89248
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country", "one_additional_attribute", "other_additional_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""], ["one_additional_attribute", "importer-attr"], ["other_additional_attribute", "other-importer-attr"]]
|
|
89249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89250
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89251
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."one_additional_attribute" FROM "companies"
|
|
89252
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."other_additional_attribute" FROM "companies"[0m
|
|
89253
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89254
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89255
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89258
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89259
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89260
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89261
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-ezecx0'
|
|
89262
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1m2at58.csv'
|
|
89263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89264
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-z6cjot.csv'
|
|
89265
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89266
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:32.800785"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 2], ["created_at", "2017-04-06 21:10:32.831683"], ["updated_at", "2017-04-06 21:10:32.831683"]]
|
|
89267
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89268
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89269
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89270
|
+
[1m[35mCompany Load (0.2ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1 [["user_id", 1], ["name", "foo"]]
|
|
89271
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89272
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("user_id", "name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["user_id", 1], ["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
89273
|
+
[1m[36mCompany Load (0.1ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1[0m [["user_id", 1], ["name", "bar"]]
|
|
89274
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "companies" ("user_id", "name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["user_id", 1], ["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
89275
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89276
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89277
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
|
89278
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."street" FROM "companies"
|
|
89279
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
|
89280
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
|
89281
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
|
89282
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."state" FROM "companies"
|
|
89283
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
|
89284
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89286
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89288
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89289
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1ggrs4a'
|
|
89290
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1cass8b.csv'
|
|
89291
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89292
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1bnoo63.csv'
|
|
89293
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89294
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:32.881015"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- ignore\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:32.912060"], ["updated_at", "2017-04-06 21:10:32.912060"]]
|
|
89295
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89296
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89297
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
89298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
89300
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
89301
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?) [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
89302
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89303
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89304
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
|
89305
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."street" FROM "companies"
|
|
89306
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
|
89307
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
|
89308
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
|
89309
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."state" FROM "companies"
|
|
89310
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
|
89311
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
89312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89313
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89315
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89316
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-18dhz62'
|
|
89317
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1nn0wr5.csv'
|
|
89318
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89319
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1etw7vu.csv'
|
|
89320
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89321
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:32.945953"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:32.976275"], ["updated_at", "2017-04-06 21:10:32.976275"]]
|
|
89322
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89323
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89324
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
89325
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89326
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
89327
|
+
[1m[36mCompany Load (0.1ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
89328
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
89329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89330
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89331
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
|
89332
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."street" FROM "companies"
|
|
89333
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
|
89334
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
|
89335
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
|
89336
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."state" FROM "companies"
|
|
89337
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
|
89338
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89340
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89342
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
89343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89344
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89346
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-11ndndf'
|
|
89347
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-197reje.csv'
|
|
89348
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89349
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-xioz76.csv'
|
|
89350
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89351
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:33.013180"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:33.043059"], ["updated_at", "2017-04-06 21:10:33.043059"]]
|
|
89352
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89353
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
89354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89355
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89357
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1pdqtzq'
|
|
89358
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-2e79gw.csv'
|
|
89359
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89360
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-174p5xb.csv'
|
|
89361
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89362
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:33.068759"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "foo_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:33.098712"], ["updated_at", "2017-04-06 21:10:33.098712"]]
|
|
89363
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89364
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89365
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
89366
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89367
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89369
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1bjk0a6'
|
|
89370
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-23j6nx.csv'
|
|
89371
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89372
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1t65jj0.csv'
|
|
89373
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89374
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:33.120960"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:33.150629"], ["updated_at", "2017-04-06 21:10:33.150629"]]
|
|
89375
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89376
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89377
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
89378
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89379
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89381
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-c4y247'
|
|
89382
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1ouf5m3.csv'
|
|
89383
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-wtpx0d.csv'
|
|
89384
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1lk2io9.csv'
|
|
89385
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1xbvxbq.csv'
|
|
89386
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-17zb3x4.csv'
|
|
89387
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-irs9fh.csv'
|
|
89388
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1p18e0d.csv'
|
|
89389
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89390
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89391
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89393
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-xouwr0'
|
|
89394
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-n82yu6.csv'
|
|
89395
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-kt40z9.csv'
|
|
89396
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89398
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89400
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1526rit'
|
|
89401
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-krlyux.csv'
|
|
89402
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89404
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89406
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-6yjojo'
|
|
89407
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1uub4yb.csv'
|
|
89408
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170406-94335-4x1dlh'
|
|
89409
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89411
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89413
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-o048iq'
|
|
89414
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-ehfnxg.csv'
|
|
89415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89417
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
89418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89419
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-t71655'
|
|
89420
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-4hpgj6.csv'
|
|
89421
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-uvwqxi.csv'
|
|
89422
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1jvsfzm.csv'
|
|
89423
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-d2xqzt.csv'
|
|
89424
|
+
[paperclip] Content Type Spoof: Filename companies.csv (application/vnd.ms-excel from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89425
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1glch99.csv'
|
|
89426
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/png from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89427
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1sljfp7.csv'
|
|
89428
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/gif from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89429
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1yh2ai9.csv'
|
|
89430
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89431
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89432
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89434
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1496tyc'
|
|
89435
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1nil60z.csv'
|
|
89436
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1k8osrc.csv'
|
|
89437
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-n3ctmq.csv'
|
|
89438
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1w4j8w3.csv'
|
|
89439
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1c8wbc6.csv'
|
|
89440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89442
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89443
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89444
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-16hncac'
|
|
89445
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-v12n7p.csv'
|
|
89446
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89447
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1bvgk9.csv'
|
|
89448
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89449
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:33.667534"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:33.698267"], ["updated_at", "2017-04-06 21:10:33.698267"]]
|
|
89450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89451
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89453
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89455
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1t7titu'
|
|
89456
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-auakko.csv'
|
|
89457
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-17pu9u7.csv'
|
|
89458
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1ymgdl1'
|
|
89459
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-esn3ia.csv'
|
|
89460
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1i0hgxt.csv'
|
|
89461
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89463
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89464
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89465
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1p5iztc'
|
|
89466
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-a3wd0r.csv'
|
|
89467
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89468
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-132p6rv.csv'
|
|
89469
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89470
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:33.820664"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:33.852302"], ["updated_at", "2017-04-06 21:10:33.852302"]]
|
|
89471
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89472
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
89473
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89474
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89475
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89476
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
89477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89478
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89479
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89480
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
89481
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89482
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89484
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
89485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89486
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89487
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89488
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89489
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89490
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89492
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
89493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89494
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89496
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
89497
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89498
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89499
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89500
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-aodz9x'
|
|
89501
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1qf6m5h.csv'
|
|
89502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89503
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-10doagi.csv'
|
|
89504
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89505
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:33.882908"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:33.915581"], ["updated_at", "2017-04-06 21:10:33.915581"]]
|
|
89506
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89507
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
89508
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89509
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
89510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89511
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-10fwyos'
|
|
89512
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-157d091.csv'
|
|
89513
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
89514
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1utzpq.csv'
|
|
89515
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89516
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:33.940285"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:33.971706"], ["updated_at", "2017-04-06 21:10:33.971706"]]
|
|
89517
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89518
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89520
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["status", "success"], ["message", "Seus registros foram importados com sucesso!"], ["updated_at", "2017-04-06 21:10:33.979619"], ["id", 1]]
|
|
89521
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89522
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89524
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89526
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-aw7y4o'
|
|
89527
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-10inv1x.csv'
|
|
89528
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89529
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-467v28.csv'
|
|
89530
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89531
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.004243"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:34.034248"], ["updated_at", "2017-04-06 21:10:34.034248"]]
|
|
89532
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89533
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
89534
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
89535
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89536
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89537
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:10:34.051478"], ["id", 1]]
|
|
89538
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89539
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
89540
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.3ms)
|
|
89541
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89542
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89543
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
89544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89545
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-15fskh'
|
|
89546
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1aazu8h.csv'
|
|
89547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89548
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-tyjt4g.csv'
|
|
89549
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89550
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.081544"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:34.114631"], ["updated_at", "2017-04-06 21:10:34.114631"]]
|
|
89551
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89552
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
89553
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
89554
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89555
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89556
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:10:34.129712"], ["id", 1]]
|
|
89557
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89558
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
89559
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.4ms)
|
|
89560
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89561
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
89562
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89563
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89565
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1lyy8qu'
|
|
89566
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-m4tiqa.csv'
|
|
89567
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89568
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-drds2f.csv'
|
|
89569
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89570
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.157464"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:34.188189"], ["updated_at", "2017-04-06 21:10:34.188189"]]
|
|
89571
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89572
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
89573
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
89574
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89575
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89576
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-04-06 21:10:34.200925"], ["id", 1]]
|
|
89577
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89578
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
89579
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.3ms)
|
|
89580
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
89581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89582
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89583
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89584
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-9dl7op'
|
|
89585
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-gizpna.csv'
|
|
89586
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89587
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1bhgnta.csv'
|
|
89588
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89589
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.228147"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:34.263201"], ["updated_at", "2017-04-06 21:10:34.263201"]]
|
|
89590
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89591
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
89592
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
89593
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89595
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
89596
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.3ms)
|
|
89597
|
+
Completed 200 OK in 19ms (Views: 14.8ms | ActiveRecord: 0.1ms)
|
|
89598
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89600
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89602
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-8ytp0n'
|
|
89603
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1ndpylr.csv'
|
|
89604
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89605
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1s44dn9.csv'
|
|
89606
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89607
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.311498"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:34.344197"], ["updated_at", "2017-04-06 21:10:34.344197"]]
|
|
89608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89609
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
|
89610
|
+
Parameters: {"id"=>"1"}
|
|
89611
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89612
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.3ms)
|
|
89613
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
|
89614
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
89615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89616
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89619
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89620
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89621
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
89622
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
89623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89624
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
89625
|
+
Redirected to http://example.com
|
|
89626
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
|
89627
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89628
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89629
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
89630
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89632
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89633
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89634
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
89635
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fddfaae0c38 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-id4gko>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
89636
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-id4gko'
|
|
89637
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-17ofw9b.csv'
|
|
89638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89639
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-12lirhh.csv'
|
|
89640
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.395067"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 21:10:34.423319"], ["updated_at", "2017-04-06 21:10:34.423319"]]
|
|
89641
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89642
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89643
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
89644
|
+
Completed 302 Found in 58ms (ActiveRecord: 0.6ms)
|
|
89645
|
+
[1m[36mImporter Load (0.2ms)[0m [1mSELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1[0m
|
|
89646
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89647
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89648
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
89649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89650
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
|
89651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89652
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89654
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
89655
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fddfa341fe0 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-11jzi30>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
89656
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-11jzi30'
|
|
89657
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1pl5rq4.csv'
|
|
89658
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89659
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1el7xps.csv'
|
|
89660
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.468931"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 21:10:34.500232"], ["updated_at", "2017-04-06 21:10:34.500232"]]
|
|
89661
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89662
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89663
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
89664
|
+
Completed 302 Found in 74ms (ActiveRecord: 0.5ms)
|
|
89665
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
|
89666
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
89667
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89668
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89670
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-94335-1f7j7en'
|
|
89671
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1cvbqas.csv'
|
|
89672
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89673
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-94335-1vrn3gr.csv'
|
|
89674
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89675
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-04-06 21:10:34.544195"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 21:10:34.576518"], ["updated_at", "2017-04-06 21:10:34.576518"]]
|
|
89676
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89677
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
|
89678
|
+
Parameters: {"id"=>"1"}
|
|
89679
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89680
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.1ms)
|
|
89681
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
|
89682
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89683
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
89684
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "companies";[0m
|
|
89685
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
89686
|
+
[1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
|
89687
|
+
[1m[35m (0.7ms)[0m DELETE FROM "importers";
|
|
89688
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
89689
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
|
89690
|
+
[1m[36m (0.7ms)[0m [1mDELETE FROM "users";[0m
|
|
89691
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
89692
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
|
89693
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89694
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89695
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89696
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1gkt0ny'
|
|
89697
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-14lmszr.csv'
|
|
89698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89699
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-w1ee6f.csv'
|
|
89700
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89701
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:47.735103"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:47.799793"], ["updated_at", "2017-06-02 23:16:47.799793"]]
|
|
89702
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89703
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89704
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89706
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
89707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89708
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89710
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89712
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89714
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
89715
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89716
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89719
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89721
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89722
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-aohpk'
|
|
89723
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1fbex16.csv'
|
|
89724
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89725
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-4xgnp1.csv'
|
|
89726
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89727
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:47.847915"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 2], ["created_at", "2017-06-02 23:16:47.882882"], ["updated_at", "2017-06-02 23:16:47.882882"]]
|
|
89728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89729
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89730
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89731
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89732
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
89733
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89734
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89735
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89736
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89737
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1ryd4t2'
|
|
89738
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1f11ne0.csv'
|
|
89739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89740
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-17jpvog.csv'
|
|
89741
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89742
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.035680"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.067807"], ["updated_at", "2017-06-02 23:16:48.067807"]]
|
|
89743
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89744
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89745
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89746
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
89747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89748
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89750
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89751
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-cg6zvk'
|
|
89752
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1qupuyh.csv'
|
|
89753
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89754
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1sykpjr.csv'
|
|
89755
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89756
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.099437"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- ignore\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.133505"], ["updated_at", "2017-06-02 23:16:48.133505"]]
|
|
89757
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89758
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89759
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
89760
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
89761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89762
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89764
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89765
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-zvua3f'
|
|
89766
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1c71b22.csv'
|
|
89767
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89768
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-5tl7zz.csv'
|
|
89769
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89770
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "additional_data", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.164181"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["additional_data", "\"{\\\"one_additional_attribute\\\": \\\"importer-attr\\\", \\\"other_additional_attribute\\\": \\\"other-importer-attr\\\"}\""], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.197836"], ["updated_at", "2017-06-02 23:16:48.197836"]]
|
|
89771
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89772
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89773
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
89774
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89776
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89777
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89778
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170602-53937-dtcipa'
|
|
89779
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170602-53937-56r4fu.csv'
|
|
89780
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
89781
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170602-53937-q5a3r.csv'
|
|
89782
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89783
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies_invalid.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 152], ["attachment_updated_at", "2017-06-02 23:16:48.230909"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.263831"], ["updated_at", "2017-06-02 23:16:48.263831"]]
|
|
89784
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89785
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89786
|
+
[1m[36mCompany Load (0.1ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
89787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89788
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
89789
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
|
89790
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89791
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89792
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89793
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/failures20170602-53937-1jv81f1.csv'
|
|
89794
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/6c674803fdfc79e87f644bd03561862c20170602-53937-15ucexl.csv'
|
|
89795
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/6c674803fdfc79e87f644bd03561862c20170602-53937-8sl7gk.csv'
|
|
89796
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "importers" SET "status" = ?, "message" = ?, "attachment_error_file_name" = ?, "attachment_error_content_type" = ?, "attachment_error_file_size" = ?, "attachment_error_updated_at" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["status", "error"], ["message", "Alguns registros não foram importados pois contém erros!"], ["attachment_error_file_name", "failures20170602-53937-1jv81f1.csv"], ["attachment_error_content_type", "text/plain"], ["attachment_error_file_size", 127], ["attachment_error_updated_at", "2017-06-02 23:16:48.319935"], ["updated_at", "2017-06-02 23:16:48.353289"], ["id", 1]]
|
|
89797
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89798
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89799
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
89800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89801
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
|
89802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89803
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89804
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89805
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89807
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89808
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89809
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89811
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89812
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89813
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89814
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89815
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89817
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
89818
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89819
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89821
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89822
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89823
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89825
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89826
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89827
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1b16djs'
|
|
89828
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1s17sw7.csv'
|
|
89829
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89830
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1k1jgyl.csv'
|
|
89831
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89832
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.391571"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.425430"], ["updated_at", "2017-06-02 23:16:48.425430"]]
|
|
89833
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89834
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
89835
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89836
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89837
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89838
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1voxwtc'
|
|
89839
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-12gccoc.csv'
|
|
89840
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89841
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-pfqziv.csv'
|
|
89842
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89843
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.468976"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.503161"], ["updated_at", "2017-06-02 23:16:48.503161"]]
|
|
89844
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89845
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89846
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
89847
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["status", "success"], ["message", "Seus registros foram importados com sucesso!"], ["updated_at", "2017-06-02 23:16:48.509344"], ["id", 1]]
|
|
89848
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89849
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
89850
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89851
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89853
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89854
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89855
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89856
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89857
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89859
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89860
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89861
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89863
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89864
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89865
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-9ga6z6'
|
|
89866
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1e95j83.csv'
|
|
89867
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89868
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-nw16tg.csv'
|
|
89869
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89870
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.565948"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.603087"], ["updated_at", "2017-06-02 23:16:48.603087"]]
|
|
89871
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89872
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
89873
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
89874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89875
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
89876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89877
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-3yn7f0'
|
|
89878
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-6umc7p.csv'
|
|
89879
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
89880
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-elj0kh.csv'
|
|
89881
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89882
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.630884"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "foo_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.667848"], ["updated_at", "2017-06-02 23:16:48.667848"]]
|
|
89883
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89884
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
89885
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
89886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89887
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89889
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-fpgecf'
|
|
89890
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1r1xzyk.csv'
|
|
89891
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89892
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1hwony8.csv'
|
|
89893
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89894
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:48.691559"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:48.726727"], ["updated_at", "2017-06-02 23:16:48.726727"]]
|
|
89895
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89896
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
89897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89898
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89900
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-54r3nn'
|
|
89901
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1ba6341.csv'
|
|
89902
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1kf212h.csv'
|
|
89903
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-zdtvfo.csv'
|
|
89904
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-cxpg3m.csv'
|
|
89905
|
+
[paperclip] Content Type Spoof: Filename companies.csv (application/vnd.ms-excel from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89906
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-14xnsum.csv'
|
|
89907
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/png from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89908
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-mycw4i.csv'
|
|
89909
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/gif from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
89910
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-ydn8ur.csv'
|
|
89911
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89913
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89914
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89915
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-y0vwtk'
|
|
89916
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1hz0gdc.csv'
|
|
89917
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-yip222.csv'
|
|
89918
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-zgu5ik.csv'
|
|
89919
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1c1yn0e.csv'
|
|
89920
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1ozb3aa.csv'
|
|
89921
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89922
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89923
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89924
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89925
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1os3osq'
|
|
89926
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-w247xp.csv'
|
|
89927
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89929
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89930
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89931
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-134doei'
|
|
89932
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1kg74rg.csv'
|
|
89933
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-17hg28o.csv'
|
|
89934
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89935
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89936
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89937
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89938
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-5i709r'
|
|
89939
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-ccnkuy.csv'
|
|
89940
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170602-53937-rl1ola'
|
|
89941
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89942
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89943
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
89944
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89945
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-tte7wq'
|
|
89946
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-7p7tpc.csv'
|
|
89947
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1xdlecw.csv'
|
|
89948
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-zne8x2.csv'
|
|
89949
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-o1ca9k.csv'
|
|
89950
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-133p03e.csv'
|
|
89951
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-ncrw56.csv'
|
|
89952
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-ljsefp.csv'
|
|
89953
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89954
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89955
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89957
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-kc4455'
|
|
89958
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-b5zqz4.csv'
|
|
89959
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89960
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89961
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89963
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-hykku5'
|
|
89964
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-d04eok.csv'
|
|
89965
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89966
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-kxui0g.csv'
|
|
89967
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89968
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.280253"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:49.311643"], ["updated_at", "2017-06-02 23:16:49.311643"]]
|
|
89969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89970
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
89971
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89972
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
89973
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89974
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-wbhfdj'
|
|
89975
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1ef3gs1.csv'
|
|
89976
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-t7t89u.csv'
|
|
89977
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1tc63ph'
|
|
89978
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-vdf4d7.csv'
|
|
89979
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-grjx8f.csv'
|
|
89980
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
89981
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89982
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89984
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89985
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89986
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89987
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89988
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-tcfabp'
|
|
89989
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-7lf8zk.csv'
|
|
89990
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
89991
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1tb1tt3.csv'
|
|
89992
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
89993
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.450144"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:49.480840"], ["updated_at", "2017-06-02 23:16:49.480840"]]
|
|
89994
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
89995
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
89996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
89997
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
89998
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
89999
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90001
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90002
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90003
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90004
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90005
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90006
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90007
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90009
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90011
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90013
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
90014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90015
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90016
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90017
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90018
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90019
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90023
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90024
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90025
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
90026
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90027
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90028
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90030
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90031
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fe47a9b1020 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-2m2cce>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90032
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-2m2cce'
|
|
90033
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1cf0oi.csv'
|
|
90034
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90035
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-hmkfpj.csv'
|
|
90036
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.577275"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-06-02 23:16:49.607356"], ["updated_at", "2017-06-02 23:16:49.607356"]]
|
|
90037
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90038
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90039
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
90040
|
+
Completed 302 Found in 59ms (ActiveRecord: 0.5ms)
|
|
90041
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1
|
|
90042
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90043
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90044
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90046
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "importers"[0m
|
|
90047
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
90048
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90049
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90050
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90051
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fe47a221aa8 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-ifvjj1>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90052
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-ifvjj1'
|
|
90053
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-vjsaxv.csv'
|
|
90054
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90055
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1iy2kpq.csv'
|
|
90056
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.649900"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-06-02 23:16:49.683281"], ["updated_at", "2017-06-02 23:16:49.683281"]]
|
|
90057
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90058
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90059
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
90060
|
+
Completed 302 Found in 61ms (ActiveRecord: 0.4ms)
|
|
90061
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "importers"[0m
|
|
90062
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90064
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
90065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90066
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90067
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90068
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90069
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90070
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90071
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90072
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
90073
|
+
Redirected to http://example.com
|
|
90074
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
|
90075
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90076
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90077
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90079
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-aeq1cz'
|
|
90080
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1gu48ki.csv'
|
|
90081
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90082
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-7oplxo.csv'
|
|
90083
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90084
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.724176"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:49.755458"], ["updated_at", "2017-06-02 23:16:49.755458"]]
|
|
90085
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90086
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
|
90087
|
+
Parameters: {"id"=>"1"}
|
|
90088
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90089
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.3ms)
|
|
90090
|
+
Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.1ms)
|
|
90091
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90092
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90093
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90095
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1fgo074'
|
|
90096
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-ymqrzt.csv'
|
|
90097
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90098
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-10pgfee.csv'
|
|
90099
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90100
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.805920"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:49.837211"], ["updated_at", "2017-06-02 23:16:49.837211"]]
|
|
90101
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90102
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90103
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90104
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90105
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90106
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
90107
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.3ms)
|
|
90108
|
+
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
|
90109
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90111
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90113
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-btutwv'
|
|
90114
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1h6abox.csv'
|
|
90115
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90116
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1iymfij.csv'
|
|
90117
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90118
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.886710"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:49.918673"], ["updated_at", "2017-06-02 23:16:49.918673"]]
|
|
90119
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90120
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90121
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90122
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90124
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:16:49.930035"], ["id", 1]]
|
|
90125
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90126
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90127
|
+
Completed 302 Found in 41ms (ActiveRecord: 0.3ms)
|
|
90128
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90129
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90131
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90133
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1icgeha'
|
|
90134
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-hidvsn.csv'
|
|
90135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90136
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-18czwfm.csv'
|
|
90137
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90138
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:49.988903"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:50.023621"], ["updated_at", "2017-06-02 23:16:50.023621"]]
|
|
90139
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90140
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90141
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90142
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90144
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:16:50.037059"], ["id", 1]]
|
|
90145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90146
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90147
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.3ms)
|
|
90148
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90149
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90150
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
90151
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90152
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-1y5cawv'
|
|
90153
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-1lbva4.csv'
|
|
90154
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90155
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-18x79sz.csv'
|
|
90156
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90157
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:50.074276"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:50.106936"], ["updated_at", "2017-06-02 23:16:50.106936"]]
|
|
90158
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90159
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90160
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90161
|
+
[1m[35mImporter Load (0.5ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90162
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90163
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:16:50.119952"], ["id", 1]]
|
|
90164
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90165
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90166
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
|
90167
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90169
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90171
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-53937-7sphoi'
|
|
90172
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-80j83b.csv'
|
|
90173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90174
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-53937-u2bduv.csv'
|
|
90175
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90176
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 153], ["attachment_updated_at", "2017-06-02 23:16:50.145742"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:16:50.176592"], ["updated_at", "2017-06-02 23:16:50.176592"]]
|
|
90177
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90178
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
|
90179
|
+
Parameters: {"id"=>"1"}
|
|
90180
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90181
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.1ms)
|
|
90182
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
|
90183
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90184
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90186
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90188
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90189
|
+
[1m[36m (1.8ms)[0m [1mDELETE FROM "companies";[0m
|
|
90190
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
90191
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
|
90192
|
+
[1m[35m (1.0ms)[0m DELETE FROM "importers";
|
|
90193
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
90194
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
|
90195
|
+
[1m[36m (1.0ms)[0m [1mDELETE FROM "users";[0m
|
|
90196
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
90197
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
|
90198
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90199
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90200
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90201
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-da3l1v'
|
|
90202
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1aic5uo.csv'
|
|
90203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90204
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-8qwr5p.csv'
|
|
90205
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90206
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:01.319916"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:01.371365"], ["updated_at", "2017-06-02 23:19:01.371365"]]
|
|
90207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90209
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90210
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90211
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90213
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90214
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90215
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90217
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90219
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90220
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90221
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90222
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
90223
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-sjknkg'
|
|
90224
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1nhb79f.csv'
|
|
90225
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90226
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-bbtgo0.csv'
|
|
90227
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90228
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:01.424021"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 2], ["created_at", "2017-06-02 23:19:01.453397"], ["updated_at", "2017-06-02 23:19:01.453397"]]
|
|
90229
|
+
[1m[36m (0.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90230
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90231
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90232
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1 [["user_id", 1], ["name", "foo"]]
|
|
90233
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90234
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("user_id", "name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["user_id", 1], ["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
90235
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1[0m [["user_id", 1], ["name", "bar"]]
|
|
90236
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "companies" ("user_id", "name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["user_id", 1], ["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
90237
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90238
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "companies"
|
|
90239
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
|
90240
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."street" FROM "companies"
|
|
90241
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
|
90242
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
|
90243
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
|
90244
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."state" FROM "companies"
|
|
90245
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
|
90246
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90248
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90249
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90250
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
90251
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1oekn8m'
|
|
90252
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-2j10sm.csv'
|
|
90253
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90254
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-vodyoe.csv'
|
|
90255
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90256
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:01.528056"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- ignore\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:01.559297"], ["updated_at", "2017-06-02 23:19:01.559297"]]
|
|
90257
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90258
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90259
|
+
[1m[35mCompany Load (0.2ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
90260
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90261
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
90262
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
90263
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "companies" ("name", "street", "number", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?) [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
90264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90265
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
90266
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
|
90267
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."street" FROM "companies"
|
|
90268
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
|
90269
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
|
90270
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
|
90271
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."state" FROM "companies"
|
|
90272
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
|
90273
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90274
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90275
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90277
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
90278
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-xoh1zq'
|
|
90279
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-sts0j7.csv'
|
|
90280
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90281
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-rd6uyz.csv'
|
|
90282
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90283
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "additional_data", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:01.597177"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["additional_data", "\"{\\\"one_additional_attribute\\\": \\\"importer-attr\\\", \\\"other_additional_attribute\\\": \\\"other-importer-attr\\\"}\""], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:01.631600"], ["updated_at", "2017-06-02 23:19:01.631600"]]
|
|
90284
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90285
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90286
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
90287
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90288
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country", "one_additional_attribute", "other_additional_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""], ["one_additional_attribute", "importer-attr"], ["other_additional_attribute", "other-importer-attr"]]
|
|
90289
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
90290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country", "one_additional_attribute", "other_additional_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""], ["one_additional_attribute", "importer-attr"], ["other_additional_attribute", "other-importer-attr"]]
|
|
90291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90292
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
90293
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."one_additional_attribute" FROM "companies"[0m
|
|
90294
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."other_additional_attribute" FROM "companies"
|
|
90295
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90297
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90298
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90299
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
90300
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-vmvb1o'
|
|
90301
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1smx1rr.csv'
|
|
90302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90303
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-7vjjkg.csv'
|
|
90304
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90305
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:01.693842"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:01.726974"], ["updated_at", "2017-06-02 23:19:01.726974"]]
|
|
90306
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90307
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90308
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
90309
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90310
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
90311
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
|
90312
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
90313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90314
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
90315
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."name" FROM "companies"
|
|
90316
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."street" FROM "companies"[0m
|
|
90317
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."number" FROM "companies"
|
|
90318
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."neighborhood" FROM "companies"[0m
|
|
90319
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."city" FROM "companies"
|
|
90320
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."state" FROM "companies"[0m
|
|
90321
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."user_id" FROM "companies"
|
|
90322
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
90323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90324
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90325
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90326
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1ae8g1p'
|
|
90327
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1v9dwku.csv'
|
|
90328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90329
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-7phio8.csv'
|
|
90330
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90331
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:01.760952"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:01.791647"], ["updated_at", "2017-06-02 23:19:01.791647"]]
|
|
90332
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90333
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90334
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90335
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["status", "success"], ["message", "Seus registros foram importados com sucesso!"], ["updated_at", "2017-06-02 23:19:01.810792"], ["id", 1]]
|
|
90336
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90337
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90339
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90340
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90341
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-djw2g8'
|
|
90342
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-ia9q7m.csv'
|
|
90343
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90344
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-w8c2hb.csv'
|
|
90345
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90346
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:01.833707"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:01.864765"], ["updated_at", "2017-06-02 23:19:01.864765"]]
|
|
90347
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90348
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90349
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90350
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90351
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90352
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170602-54115-qy9aok'
|
|
90353
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170602-54115-h83std.csv'
|
|
90354
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90355
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170602-54115-1737ub1.csv'
|
|
90356
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90357
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies_invalid.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 152], ["attachment_updated_at", "2017-06-02 23:19:01.890857"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:01.923369"], ["updated_at", "2017-06-02 23:19:01.923369"]]
|
|
90358
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90359
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90360
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
90361
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90362
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
90363
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
90364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90365
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90366
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90367
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/failures20170602-54115-m6aill.csv'
|
|
90368
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/9e6be1aa757f08ed72d42871057d395720170602-54115-1ep8yrz.csv'
|
|
90369
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/9e6be1aa757f08ed72d42871057d395720170602-54115-7g5umk.csv'
|
|
90370
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "importers" SET "status" = ?, "message" = ?, "attachment_error_file_name" = ?, "attachment_error_content_type" = ?, "attachment_error_file_size" = ?, "attachment_error_updated_at" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["status", "error"], ["message", "Alguns registros não foram importados pois contém erros!"], ["attachment_error_file_name", "failures20170602-54115-m6aill.csv"], ["attachment_error_content_type", "text/plain"], ["attachment_error_file_size", 127], ["attachment_error_updated_at", "2017-06-02 23:19:01.957007"], ["updated_at", "2017-06-02 23:19:01.988369"], ["id", 1]]
|
|
90371
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90372
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90373
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
90374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90375
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
90376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90377
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90378
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90379
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90381
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90383
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
90384
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90385
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90387
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90388
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90389
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
90390
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90391
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90393
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
90394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90395
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90397
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90399
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
90400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90401
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90402
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90403
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90405
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
90406
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90407
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90409
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90410
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90411
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90413
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
90414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90415
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90416
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90417
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-t8g7js'
|
|
90418
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1ajxte2.csv'
|
|
90419
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90420
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-176i83k.csv'
|
|
90421
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90422
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.082462"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:02.112634"], ["updated_at", "2017-06-02 23:19:02.112634"]]
|
|
90423
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90424
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90425
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90426
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90427
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90428
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:19:02.136082"], ["id", 1]]
|
|
90429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90430
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90431
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.3ms)
|
|
90432
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90434
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90436
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-3p3v3r'
|
|
90437
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1ecegbs.csv'
|
|
90438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90439
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1jumod1.csv'
|
|
90440
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90441
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.161277"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:02.194024"], ["updated_at", "2017-06-02 23:19:02.194024"]]
|
|
90442
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90443
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90444
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90445
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90446
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90447
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:19:02.205218"], ["id", 1]]
|
|
90448
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90449
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90450
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.2ms)
|
|
90451
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90453
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90455
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-wdbf81'
|
|
90456
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-4kymij.csv'
|
|
90457
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90458
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-g5wo02.csv'
|
|
90459
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90460
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.242496"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:02.273859"], ["updated_at", "2017-06-02 23:19:02.273859"]]
|
|
90461
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90462
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90463
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90464
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90465
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90466
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:19:02.284876"], ["id", 1]]
|
|
90467
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90468
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90469
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.5ms)
|
|
90470
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90471
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90472
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90473
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90475
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-14d8y0z'
|
|
90476
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-b589wy.csv'
|
|
90477
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90478
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-hh8hak.csv'
|
|
90479
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90480
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.314229"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:02.344754"], ["updated_at", "2017-06-02 23:19:02.344754"]]
|
|
90481
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90482
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90483
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90484
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90485
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90486
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
90487
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.3ms)
|
|
90488
|
+
Completed 200 OK in 18ms (Views: 12.8ms | ActiveRecord: 0.1ms)
|
|
90489
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90491
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90492
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90493
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90494
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90495
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90496
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90497
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90499
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
90500
|
+
Redirected to http://example.com
|
|
90501
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
|
90502
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90504
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90507
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90509
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90510
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fb7578438f0 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1q107ek>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90511
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1q107ek'
|
|
90512
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1ycyof3.csv'
|
|
90513
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90514
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1x39ugg.csv'
|
|
90515
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.409989"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-06-02 23:19:02.438179"], ["updated_at", "2017-06-02 23:19:02.438179"]]
|
|
90516
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90517
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90518
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
90519
|
+
Completed 302 Found in 61ms (ActiveRecord: 0.5ms)
|
|
90520
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1
|
|
90521
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90525
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "importers"[0m
|
|
90526
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90527
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90528
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90529
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90530
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fb757010f20 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-c3dmuq>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90531
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-c3dmuq'
|
|
90532
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-kosw78.csv'
|
|
90533
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90534
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-10htr4h.csv'
|
|
90535
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.485201"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-06-02 23:19:02.515404"], ["updated_at", "2017-06-02 23:19:02.515404"]]
|
|
90536
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90537
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90538
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
90539
|
+
Completed 302 Found in 63ms (ActiveRecord: 0.4ms)
|
|
90540
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "importers"[0m
|
|
90541
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90542
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90543
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90545
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1td200y'
|
|
90546
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-nuavzk.csv'
|
|
90547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90548
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1dem6ty.csv'
|
|
90549
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90550
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.549615"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:02.583739"], ["updated_at", "2017-06-02 23:19:02.583739"]]
|
|
90551
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90552
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
|
90553
|
+
Parameters: {"id"=>"1"}
|
|
90554
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90555
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.1ms)
|
|
90556
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
|
90557
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90558
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90560
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90562
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-83sd00'
|
|
90563
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1a1k89p.csv'
|
|
90564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90565
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1doi772.csv'
|
|
90566
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90567
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:02.614480"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:02.644208"], ["updated_at", "2017-06-02 23:19:02.644208"]]
|
|
90568
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90569
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
|
90570
|
+
Parameters: {"id"=>"1"}
|
|
90571
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90572
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.3ms)
|
|
90573
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.1ms)
|
|
90574
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90575
|
+
[1m[35m (0.3ms)[0m begin transaction
|
|
90576
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90577
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90578
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90580
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90582
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90583
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90584
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90585
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90586
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90588
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90589
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90590
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90592
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
90593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90594
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90595
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90596
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
90597
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90598
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90599
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
90600
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90602
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90604
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90605
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90606
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
90607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90608
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90609
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90610
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1n01hfi'
|
|
90611
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-extstc.csv'
|
|
90612
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1gptxao.csv'
|
|
90613
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-ypnwt.csv'
|
|
90614
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1usfdy2.csv'
|
|
90615
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-hod22u.csv'
|
|
90616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90618
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90619
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90620
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-12pu2ak'
|
|
90621
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1og6kee.csv'
|
|
90622
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-rkcyb3.csv'
|
|
90623
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-18t3wq7.csv'
|
|
90624
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-3n4wnl.csv'
|
|
90625
|
+
[paperclip] Content Type Spoof: Filename companies.csv (application/vnd.ms-excel from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
90626
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-zl9lv9.csv'
|
|
90627
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/png from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
90628
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-174a5mb.csv'
|
|
90629
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/gif from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
90630
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-153ob2.csv'
|
|
90631
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90632
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90633
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90635
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-gmyjp4'
|
|
90636
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-2lztgu.csv'
|
|
90637
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-lfyvsy.csv'
|
|
90638
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90639
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90640
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90642
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1uq3t62'
|
|
90643
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1q3g6eu.csv'
|
|
90644
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170602-54115-1ok1sjb'
|
|
90645
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90646
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90647
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90648
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90649
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1pupei5'
|
|
90650
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1ovkmei.csv'
|
|
90651
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90653
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90654
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90655
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1li1032'
|
|
90656
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-x2rf2b.csv'
|
|
90657
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1vq4o1n.csv'
|
|
90658
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-18wzmiq.csv'
|
|
90659
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1ywyje6.csv'
|
|
90660
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1ti8pnn.csv'
|
|
90661
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1ayz5fg.csv'
|
|
90662
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-ctiwt0.csv'
|
|
90663
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90665
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90667
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-zm5apv'
|
|
90668
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1azj5u3.csv'
|
|
90669
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90670
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90671
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90673
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-18b28u8'
|
|
90674
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-nyhhzz.csv'
|
|
90675
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90676
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1luam9n.csv'
|
|
90677
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90678
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:03.257557"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:03.293919"], ["updated_at", "2017-06-02 23:19:03.293919"]]
|
|
90679
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90680
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90681
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90682
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90683
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90684
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-zzsj4o'
|
|
90685
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-ob63j9.csv'
|
|
90686
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-10gog69.csv'
|
|
90687
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-1evq8qy'
|
|
90688
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-td5opj.csv'
|
|
90689
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1qw4sn0.csv'
|
|
90690
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
90691
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90692
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
90693
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90694
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
90695
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90696
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90698
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-goe61z'
|
|
90699
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1msg0y4.csv'
|
|
90700
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90701
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-woubjh.csv'
|
|
90702
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90703
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:03.423609"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "foo_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:03.457446"], ["updated_at", "2017-06-02 23:19:03.457446"]]
|
|
90704
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90705
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90706
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90708
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90710
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-i2jep4'
|
|
90711
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1l0mmwq.csv'
|
|
90712
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90713
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-vwi6y6.csv'
|
|
90714
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90715
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:03.483453"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:03.518676"], ["updated_at", "2017-06-02 23:19:03.518676"]]
|
|
90716
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90717
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90718
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90720
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90722
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-8yerza'
|
|
90723
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-zhfs4h.csv'
|
|
90724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90725
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-jl8b41.csv'
|
|
90726
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90727
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:03.546247"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:03.580483"], ["updated_at", "2017-06-02 23:19:03.580483"]]
|
|
90728
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90729
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90730
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90731
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90733
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54115-lxssnj'
|
|
90734
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-qiinw.csv'
|
|
90735
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90736
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54115-1mrjsfo.csv'
|
|
90737
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90738
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:03.604723"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:03.635516"], ["updated_at", "2017-06-02 23:19:03.635516"]]
|
|
90739
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90740
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
90741
|
+
[1m[36m (1.3ms)[0m [1mDELETE FROM "companies";[0m
|
|
90742
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
90743
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
|
90744
|
+
[1m[35m (0.7ms)[0m DELETE FROM "importers";
|
|
90745
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
90746
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
|
90747
|
+
[1m[36m (0.6ms)[0m [1mDELETE FROM "users";[0m
|
|
90748
|
+
[1m[35m (1.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
90749
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
|
90750
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90751
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90752
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90753
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1yvotqo'
|
|
90754
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1ck4ci6.csv'
|
|
90755
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90756
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1ju1hdn.csv'
|
|
90757
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90758
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.251721"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:10.306388"], ["updated_at", "2017-06-02 23:19:10.306388"]]
|
|
90759
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90761
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90763
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90765
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90766
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90767
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1r7lm5y'
|
|
90768
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-inq30i.csv'
|
|
90769
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
|
90770
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-q9eb1r.csv'
|
|
90771
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90772
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.336459"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:10.368764"], ["updated_at", "2017-06-02 23:19:10.368764"]]
|
|
90773
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90774
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
|
90775
|
+
Parameters: {"id"=>"1"}
|
|
90776
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90777
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.3ms)
|
|
90778
|
+
Completed 200 OK in 21ms (Views: 13.9ms | ActiveRecord: 0.2ms)
|
|
90779
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90780
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90781
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90782
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90783
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90784
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90786
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90787
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90788
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90789
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
90790
|
+
Redirected to http://example.com
|
|
90791
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.1ms)
|
|
90792
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90794
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90795
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90796
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
|
90797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90798
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90799
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90800
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90801
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fa166dee2c0 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-ned24j>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90802
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-ned24j'
|
|
90803
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-18npkla.csv'
|
|
90804
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90805
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1imr9u8.csv'
|
|
90806
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.456606"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-06-02 23:19:10.486572"], ["updated_at", "2017-06-02 23:19:10.486572"]]
|
|
90807
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90808
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90809
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
90810
|
+
Completed 302 Found in 62ms (ActiveRecord: 0.5ms)
|
|
90811
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
|
90812
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90813
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90814
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90815
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90817
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90819
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
|
90820
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fa16805a468 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1gd2ivg>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
|
90821
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1gd2ivg'
|
|
90822
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1a11u98.csv'
|
|
90823
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90824
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1cssqqj.csv'
|
|
90825
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "importable_type", "importable_id", "source", "parser", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.528148"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-06-02 23:19:10.556845"], ["updated_at", "2017-06-02 23:19:10.556845"]]
|
|
90826
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90827
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90828
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
|
90829
|
+
Completed 302 Found in 57ms (ActiveRecord: 0.4ms)
|
|
90830
|
+
[1m[35mImporter Load (0.3ms)[0m SELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1
|
|
90831
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90832
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90833
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90834
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90835
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1t95mo0'
|
|
90836
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1k8x3zu.csv'
|
|
90837
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90838
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-mxn7sg.csv'
|
|
90839
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90840
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.593624"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:10.623957"], ["updated_at", "2017-06-02 23:19:10.623957"]]
|
|
90841
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90842
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90843
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90844
|
+
[1m[36mImporter Load (0.2ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90845
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90846
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:19:10.656354"], ["id", 1]]
|
|
90847
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90848
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90849
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.4ms)
|
|
90850
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90851
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90852
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
90853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90854
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-821iq6'
|
|
90855
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-rxuq8l.csv'
|
|
90856
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90857
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1a6rb54.csv'
|
|
90858
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90859
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.692684"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:10.725357"], ["updated_at", "2017-06-02 23:19:10.725357"]]
|
|
90860
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90861
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90862
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90863
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90865
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:19:10.735040"], ["id", 1]]
|
|
90866
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90867
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90868
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.3ms)
|
|
90869
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90870
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90872
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90874
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-12uqycj'
|
|
90875
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-12iob6p.csv'
|
|
90876
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90877
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-vewa4b.csv'
|
|
90878
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90879
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.766677"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:10.798454"], ["updated_at", "2017-06-02 23:19:10.798454"]]
|
|
90880
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90881
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90882
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90883
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90884
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90885
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "importers" SET "columns" = ?, "updated_at" = ? WHERE "importers"."id" = ? [["columns", "---\n- neighborhood\n- city\n- cod\n- state\n- name\n- number\n- country\n- street\n"], ["updated_at", "2017-06-02 23:19:10.818776"], ["id", 1]]
|
|
90886
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90887
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
|
90888
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.6ms)
|
|
90889
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
90890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90891
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90892
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90893
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-6zlwbd'
|
|
90894
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1nzv17d.csv'
|
|
90895
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90896
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1lkfrow.csv'
|
|
90897
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90898
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.848211"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:10.878917"], ["updated_at", "2017-06-02 23:19:10.878917"]]
|
|
90899
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
90900
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
|
90901
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
|
90902
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90904
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
90905
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.3ms)
|
|
90906
|
+
Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
|
90907
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90908
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90909
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90911
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-m61v4z'
|
|
90912
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1pk3ugg.csv'
|
|
90913
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90914
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-17ceoqr.csv'
|
|
90915
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90916
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.914044"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:10.945878"], ["updated_at", "2017-06-02 23:19:10.945878"]]
|
|
90917
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90918
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
|
90919
|
+
Parameters: {"id"=>"1"}
|
|
90920
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90921
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.0ms)
|
|
90922
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
|
90923
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
90924
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90925
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90926
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90927
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90928
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-47l1hv'
|
|
90929
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-19zd6ob.csv'
|
|
90930
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90931
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-7d0ta9.csv'
|
|
90932
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90933
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:10.975832"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.007744"], ["updated_at", "2017-06-02 23:19:11.007744"]]
|
|
90934
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90935
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
90936
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90937
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
90938
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90939
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-18rj0ru'
|
|
90940
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1b1a8bw.csv'
|
|
90941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90942
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1rfrrnr.csv'
|
|
90943
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90944
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:11.032947"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.066497"], ["updated_at", "2017-06-02 23:19:11.066497"]]
|
|
90945
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90946
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90947
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90948
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "importers" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["status", "success"], ["message", "Seus registros foram importados com sucesso!"], ["updated_at", "2017-06-02 23:19:11.073637"], ["id", 1]]
|
|
90949
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90950
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
90951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
90952
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
90953
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
90954
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170602-54234-m8qnbc'
|
|
90955
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170602-54234-1i4qv3d.csv'
|
|
90956
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90957
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170602-54234-qkwe84.csv'
|
|
90958
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
90959
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies_invalid.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 152], ["attachment_updated_at", "2017-06-02 23:19:11.097796"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.130499"], ["updated_at", "2017-06-02 23:19:11.130499"]]
|
|
90960
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90961
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90962
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
90963
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
90964
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
90965
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
90966
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90967
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90968
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
90969
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/failures20170602-54234-sjr6h8.csv'
|
|
90970
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/81d0775305805a9a61e7b5574a87a18720170602-54234-1lld1gj.csv'
|
|
90971
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/81d0775305805a9a61e7b5574a87a18720170602-54234-1dhuejk.csv'
|
|
90972
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "importers" SET "status" = ?, "message" = ?, "attachment_error_file_name" = ?, "attachment_error_content_type" = ?, "attachment_error_file_size" = ?, "attachment_error_updated_at" = ?, "updated_at" = ? WHERE "importers"."id" = ?[0m [["status", "error"], ["message", "Alguns registros não foram importados pois contém erros!"], ["attachment_error_file_name", "failures20170602-54234-sjr6h8.csv"], ["attachment_error_content_type", "text/plain"], ["attachment_error_file_size", 127], ["attachment_error_updated_at", "2017-06-02 23:19:11.176496"], ["updated_at", "2017-06-02 23:19:11.206301"], ["id", 1]]
|
|
90973
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
90974
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
90975
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
90976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90977
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90978
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90979
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90980
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90981
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90983
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
90984
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90985
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90987
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90989
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90990
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90991
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90993
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90995
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
90996
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90997
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
90998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90999
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91001
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91002
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91003
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91004
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91005
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91007
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91009
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
91011
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91012
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91013
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91015
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91016
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91017
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
91018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91019
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91020
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91021
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91022
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
91024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
91025
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91026
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
91027
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91029
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
91032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91033
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
91035
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "companies"
|
|
91036
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1xp94hp'
|
|
91037
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-bt89e3.csv'
|
|
91038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91039
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-mmbryv.csv'
|
|
91040
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91041
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:11.304439"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.341853"], ["updated_at", "2017-06-02 23:19:11.341853"]]
|
|
91042
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91043
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
91044
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
91045
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91046
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
91047
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
91048
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
91049
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
91050
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
91051
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
|
91052
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."street" FROM "companies"
|
|
91053
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
|
91054
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
|
91055
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
|
91056
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."state" FROM "companies"
|
|
91057
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
|
91058
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
91059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
91060
|
+
[1m[35m (0.0ms)[0m commit transaction
|
|
91061
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91062
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
91063
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1ur7lh0'
|
|
91064
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1u63dhr.csv'
|
|
91065
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91066
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1mio654.csv'
|
|
91067
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91068
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "additional_data", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:11.381451"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["additional_data", "\"{\\\"one_additional_attribute\\\": \\\"importer-attr\\\", \\\"other_additional_attribute\\\": \\\"other-importer-attr\\\"}\""], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.413697"], ["updated_at", "2017-06-02 23:19:11.413697"]]
|
|
91069
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91070
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
91071
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
|
91072
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91073
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country", "one_additional_attribute", "other_additional_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""], ["one_additional_attribute", "importer-attr"], ["other_additional_attribute", "other-importer-attr"]]
|
|
91074
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
|
91075
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "companies" ("name", "street", "number", "neighborhood", "city", "state", "country", "one_additional_attribute", "other_additional_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""], ["one_additional_attribute", "importer-attr"], ["other_additional_attribute", "other-importer-attr"]]
|
|
91076
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
91077
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
91078
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."one_additional_attribute" FROM "companies"[0m
|
|
91079
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."other_additional_attribute" FROM "companies"
|
|
91080
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
91081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91082
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91085
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91086
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
91087
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
|
91088
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-10f817o'
|
|
91089
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-kq5gqq.csv'
|
|
91090
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91091
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1vk1att.csv'
|
|
91092
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91093
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:11.448102"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- neighborhood\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 2], ["created_at", "2017-06-02 23:19:11.479297"], ["updated_at", "2017-06-02 23:19:11.479297"]]
|
|
91094
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91095
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
91096
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
|
91097
|
+
[1m[36mCompany Load (0.3ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1[0m [["user_id", 1], ["name", "foo"]]
|
|
91098
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
91099
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "companies" ("user_id", "name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["user_id", 1], ["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["neighborhood", "Joao de Barro"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
91100
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1 [["user_id", 1], ["name", "bar"]]
|
|
91101
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "companies" ("user_id", "name", "street", "number", "neighborhood", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["user_id", 1], ["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["neighborhood", "Joao de Barro"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
91102
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91103
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
91104
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."name" FROM "companies"
|
|
91105
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."street" FROM "companies"[0m
|
|
91106
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."number" FROM "companies"
|
|
91107
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."neighborhood" FROM "companies"[0m
|
|
91108
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."city" FROM "companies"
|
|
91109
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."state" FROM "companies"[0m
|
|
91110
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."user_id" FROM "companies"
|
|
91111
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
91112
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91113
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91115
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
91116
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-rpd7p5'
|
|
91117
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1xbbpju.csv'
|
|
91118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
91119
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-4lnv3h.csv'
|
|
91120
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91121
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:11.528983"], ["source", "company"], ["columns", "---\n- name\n- street\n- number\n- ignore\n- city\n- state\n- country\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.564407"], ["updated_at", "2017-06-02 23:19:11.564407"]]
|
|
91122
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
91123
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
91124
|
+
[1m[36mCompany Load (0.1ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
|
91125
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
91126
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
|
91127
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
|
91128
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "bar"], ["street", "R: Teste"], ["number", "2"], ["city", "Aracatuba"], ["state", "SP"], ["country", ""]]
|
|
91129
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91130
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
|
91131
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."name" FROM "companies"
|
|
91132
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."street" FROM "companies"[0m
|
|
91133
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."number" FROM "companies"
|
|
91134
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."neighborhood" FROM "companies"[0m
|
|
91135
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."city" FROM "companies"
|
|
91136
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."state" FROM "companies"[0m
|
|
91137
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."user_id" FROM "companies"
|
|
91138
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
91139
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91140
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91142
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91144
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91146
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91147
|
+
[1m[35m (0.3ms)[0m begin transaction
|
|
91148
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91150
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
91151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91152
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91154
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
91155
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91156
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91158
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
91159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91160
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91162
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
91163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91164
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91165
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91166
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1xbyv39'
|
|
91167
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-z3kqrh.csv'
|
|
91168
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91169
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-ntjv0h.csv'
|
|
91170
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91171
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:11.642679"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "foo_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.675845"], ["updated_at", "2017-06-02 23:19:11.675845"]]
|
|
91172
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91173
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
91174
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
91175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
91176
|
+
[1m[35m (0.1ms)[0m commit transaction
|
|
91177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
91178
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-2zo2q7'
|
|
91179
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-hsfyqw.csv'
|
|
91180
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
91181
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-pg8ekz.csv'
|
|
91182
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91183
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:11.702718"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:11.736430"], ["updated_at", "2017-06-02 23:19:11.736430"]]
|
|
91184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
91185
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
|
91186
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
91187
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91188
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91190
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-oxsgmt'
|
|
91191
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1wedsdc.csv'
|
|
91192
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-bnn0gd.csv'
|
|
91193
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1wskm7x.csv'
|
|
91194
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-26xhkh.csv'
|
|
91195
|
+
[paperclip] Content Type Spoof: Filename companies.csv (application/vnd.ms-excel from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
91196
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-kit208.csv'
|
|
91197
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/png from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
91198
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-6k3bqb.csv'
|
|
91199
|
+
[paperclip] Content Type Spoof: Filename companies.csv (image/gif from Headers, ["text/comma-separated-values", "text/csv"] from Extension), content type discovered from file command: text/plain. See documentation to allow this combination.
|
|
91200
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1ll717l.csv'
|
|
91201
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91202
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91203
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91204
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91205
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1ewsfz2'
|
|
91206
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-bhat5e.csv'
|
|
91207
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91208
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91209
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91210
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91211
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-4xtble'
|
|
91212
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1ol2jdz.csv'
|
|
91213
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91215
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91217
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-17l9ra9'
|
|
91218
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1mis0ya.csv'
|
|
91219
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1jhep.csv'
|
|
91220
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-patp5f.csv'
|
|
91221
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1pvkyw8.csv'
|
|
91222
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1rz6524.csv'
|
|
91223
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-18rdr6d.csv'
|
|
91224
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-anhum6.csv'
|
|
91225
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91227
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
|
91228
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91229
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1h4u5rg'
|
|
91230
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1k0t8dm.csv'
|
|
91231
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170602-54234-1uggieg'
|
|
91232
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91234
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91235
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91236
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-8f6e68'
|
|
91237
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-11z39u.csv'
|
|
91238
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-qd36r.csv'
|
|
91239
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1qr89je.csv'
|
|
91240
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1djyvnu.csv'
|
|
91241
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-cxns3.csv'
|
|
91242
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91244
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
|
91245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91246
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-11d6pgg'
|
|
91247
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-dc5663.csv'
|
|
91248
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-cqin4y.csv'
|
|
91249
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91250
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91251
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91253
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1c5sir2'
|
|
91254
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-13vwkct.csv'
|
|
91255
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91256
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1hi56qt.csv'
|
|
91257
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91258
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:12.301361"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:12.338229"], ["updated_at", "2017-06-02 23:19:12.338229"]]
|
|
91259
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91260
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
91261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91262
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
|
91263
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91264
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-pt3wp9'
|
|
91265
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1hgorjw.csv'
|
|
91266
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-yondhm.csv'
|
|
91267
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1e77z1s'
|
|
91268
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-wsg185.csv'
|
|
91269
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-16nh00f.csv'
|
|
91270
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
91271
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91272
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
91274
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-1vjd5p2'
|
|
91275
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-t1dze2.csv'
|
|
91276
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91277
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-2woerb.csv'
|
|
91278
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91279
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:12.483804"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:12.519069"], ["updated_at", "2017-06-02 23:19:12.519069"]]
|
|
91280
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91281
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
91282
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91283
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
|
91284
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
91285
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170602-54234-q95tne'
|
|
91286
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-1lsaioi.csv'
|
|
91287
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
91288
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170602-54234-8d6oqr.csv'
|
|
91289
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
|
91290
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "importers" ("attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "source", "columns", "importable_type", "parser", "importable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attachment_file_name", "companies.csv"], ["attachment_content_type", "text/plain"], ["attachment_file_size", 151], ["attachment_updated_at", "2017-06-02 23:19:12.544622"], ["source", "company"], ["columns", "---\n- name\n- number\n- city\n- state\n"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-06-02 23:19:12.581106"], ["updated_at", "2017-06-02 23:19:12.581106"]]
|
|
91291
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
91292
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|