csv_import_magic 0.0.1 → 0.0.2
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/models/importer.rb +1 -0
- data/app/services/csv_import_magic/importer.rb +8 -0
- data/db/migrate/20170405100034_adds_additional_data_to_importers.rb +5 -0
- data/db/migrate/20170505100034_adds_additional_attributes_to_company.rb +6 -0
- data/lib/csv_import_magic/version.rb +1 -1
- data/lib/generators/csv_import_magic/install_generator.rb +1 -0
- data/spec/dummy/db/schema.rb +37 -32
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1060 -0
- data/spec/dummy/public/system/importers/attachment_errors/000/000/001/original/failures20170405-54106-13fpq5g.csv +2 -0
- data/spec/dummy/public/system/importers/attachment_errors/000/000/001/original/failures20170406-92002-8pd0oz.csv +2 -0
- data/spec/examples.txt +48 -48
- data/spec/lib/generators/csv_import_magic/install_generator_spec.rb +1 -0
- data/spec/lib/generators/csv_import_magic/rails_5/install_generator_spec.rb +1 -0
- data/spec/services/csv_import_magic/importer_spec.rb +14 -0
- metadata +8 -2
data/spec/dummy/log/test.log
CHANGED
@@ -87084,3 +87084,1063 @@ Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465
|
|
87084
87084
|
[1m[35m (0.0ms)[0m commit transaction
|
87085
87085
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87086
87086
|
[1m[35m (0.1ms)[0m rollback transaction
|
87087
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "companies";[0m
|
87088
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
87089
|
+
[1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
87090
|
+
[1m[35m (0.6ms)[0m DELETE FROM "importers";
|
87091
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
87092
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
87093
|
+
[1m[36m (0.5ms)[0m [1mDELETE FROM "users";[0m
|
87094
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
87095
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
87096
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87097
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87099
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-xjti0z'
|
87100
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-fmsq5n.csv'
|
87101
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87102
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-tcm307.csv'
|
87103
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87104
|
+
[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-05 17:27:12.873294"], ["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-05 17:27:12.931734"], ["updated_at", "2017-04-05 17:27:12.931734"]]
|
87105
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87106
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87107
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87108
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87109
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87111
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87112
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87113
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-19hrptc'
|
87114
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-eogzjs.csv'
|
87115
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87116
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-o4hcou.csv'
|
87117
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87118
|
+
[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-05 17:27:12.958052"], ["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-05 17:27:12.988566"], ["updated_at", "2017-04-05 17:27:12.988566"]]
|
87119
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87120
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87122
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87124
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-uv2y0t'
|
87125
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1rq65rw.csv'
|
87126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87127
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-18u380.csv'
|
87128
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87129
|
+
[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-05 17:27:13.030183"], ["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-05 17:27:13.061211"], ["updated_at", "2017-04-05 17:27:13.061211"]]
|
87130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87131
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87132
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87133
|
+
[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-05 17:27:13.093512"], ["id", 1]]
|
87134
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87135
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87137
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87138
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87139
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-qbe6hb'
|
87140
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-xru8v.csv'
|
87141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87142
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-12rhgtr.csv'
|
87143
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87144
|
+
[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-05 17:27:13.115061"], ["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-05 17:27:13.150565"], ["updated_at", "2017-04-05 17:27:13.150565"]]
|
87145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87146
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87148
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87150
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-vzdph4'
|
87151
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1tamn97.csv'
|
87152
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87153
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-lqm2pd.csv'
|
87154
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87155
|
+
[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-05 17:27:13.188701"], ["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-05 17:27:13.225342"], ["updated_at", "2017-04-05 17:27:13.225342"]]
|
87156
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87157
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87158
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
87159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87160
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87162
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-x8u5cc'
|
87163
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1s1vx89.csv'
|
87164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87165
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1yqeqrc.csv'
|
87166
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87167
|
+
[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-05 17:27:13.252189"], ["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-05 17:27:13.283208"], ["updated_at", "2017-04-05 17:27:13.283208"]]
|
87168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87169
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87170
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87172
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87173
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87174
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-zw35di'
|
87175
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1cizmpb.csv'
|
87176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87177
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1guutdr.csv'
|
87178
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87179
|
+
[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-05 17:27:13.307371"], ["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-05 17:27:13.340244"], ["updated_at", "2017-04-05 17:27:13.340244"]]
|
87180
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87181
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87183
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87185
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1y43td4'
|
87186
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-137faj8.csv'
|
87187
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87188
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87189
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87191
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-yvvc7w'
|
87192
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1mxji5g.csv'
|
87193
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170405-54106-8isdjq'
|
87194
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87196
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87198
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-6jh0et'
|
87199
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-151xu8x.csv'
|
87200
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1ajtas5.csv'
|
87201
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-htdvkp.csv'
|
87202
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1g73qc5.csv'
|
87203
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-oafabq.csv'
|
87204
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87206
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87208
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1me1nkg'
|
87209
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-13wu7t3.csv'
|
87210
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87212
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87214
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-sebi9l'
|
87215
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-6whw0w.csv'
|
87216
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1t2fomu.csv'
|
87217
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87219
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87221
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1ibnxsg'
|
87222
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1q12365.csv'
|
87223
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-pku9er.csv'
|
87224
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1gh0l14.csv'
|
87225
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-q5yd48.csv'
|
87226
|
+
[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.
|
87227
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1d3w07i.csv'
|
87228
|
+
[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.
|
87229
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-12bf7sh.csv'
|
87230
|
+
[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.
|
87231
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1dggn9o.csv'
|
87232
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87233
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87234
|
+
[1m[35m (0.2ms)[0m commit transaction
|
87235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87236
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-wutd4'
|
87237
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1841qp6.csv'
|
87238
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-12revum.csv'
|
87239
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1ptld93.csv'
|
87240
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1ku21v2.csv'
|
87241
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-347ena.csv'
|
87242
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-nkdje9.csv'
|
87243
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-nr9k2v.csv'
|
87244
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87246
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87248
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1bzd2pw'
|
87249
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-176039t.csv'
|
87250
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1jreo6c.csv'
|
87251
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1wyw0gw'
|
87252
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1szvfvl.csv'
|
87253
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-468eee.csv'
|
87254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87256
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87257
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87258
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-15iwyn9'
|
87259
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-hlgpsw.csv'
|
87260
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87261
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-cy2kxz.csv'
|
87262
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87263
|
+
[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-05 17:27:13.977008"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-05 17:27:14.008616"], ["updated_at", "2017-04-05 17:27:14.008616"]]
|
87264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87265
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87267
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87269
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87271
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87272
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
87273
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170405-54106-jzcc8l'
|
87274
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170405-54106-6iz3fh.csv'
|
87275
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87276
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170405-54106-f8h12u.csv'
|
87277
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87278
|
+
[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-05 17:27:14.036246"], ["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-05 17:27:14.065726"], ["updated_at", "2017-04-05 17:27:14.065726"]]
|
87279
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87280
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87281
|
+
[1m[36mCompany Load (0.2ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
87282
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87283
|
+
[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", ""]]
|
87284
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
87285
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87286
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87287
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87288
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/failures20170405-54106-13fpq5g.csv'
|
87289
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/33031800b6a638223817f8f2bca10f0220170405-54106-1988v1y.csv'
|
87290
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/33031800b6a638223817f8f2bca10f0220170405-54106-1eyx43j.csv'
|
87291
|
+
[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", "failures20170405-54106-13fpq5g.csv"], ["attachment_error_content_type", "text/plain"], ["attachment_error_file_size", 127], ["attachment_error_updated_at", "2017-04-05 17:27:14.112932"], ["updated_at", "2017-04-05 17:27:14.143069"], ["id", 1]]
|
87292
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87293
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87294
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
87295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87296
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87298
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87300
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87301
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87302
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87303
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87304
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87305
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87306
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87308
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87309
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87310
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87311
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87312
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87313
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87314
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87315
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87316
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87317
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87318
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
87319
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1usuhqb'
|
87320
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-g5vjge.csv'
|
87321
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87322
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-dqp97r.csv'
|
87323
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87324
|
+
[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-05 17:27:14.209225"], ["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-05 17:27:14.235737"], ["updated_at", "2017-04-05 17:27:14.235737"]]
|
87325
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87326
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87327
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
87328
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "companies" ("name", "street", "number", "city", "state", "country") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "foo"], ["street", "R: Teste"], ["number", "1"], ["city", "Birigui"], ["state", "SP"], ["country", ""]]
|
87330
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
87331
|
+
[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", ""]]
|
87332
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87333
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
87334
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."name" FROM "companies"
|
87335
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."street" FROM "companies"[0m
|
87336
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."number" FROM "companies"
|
87337
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."neighborhood" FROM "companies"[0m
|
87338
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."city" FROM "companies"
|
87339
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."state" FROM "companies"[0m
|
87340
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."user_id" FROM "companies"
|
87341
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87343
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87344
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87345
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
87346
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-3kyudq'
|
87347
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-15qu4s.csv'
|
87348
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87349
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-pqy8si.csv'
|
87350
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87351
|
+
[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-05 17:27:14.270784"], ["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-05 17:27:14.300264"], ["updated_at", "2017-04-05 17:27:14.300264"]]
|
87352
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87353
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87354
|
+
[1m[36mCompany Load (0.1ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "foo"]]
|
87355
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87356
|
+
[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", ""]]
|
87357
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "bar"]]
|
87358
|
+
[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", ""]]
|
87359
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87360
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
87361
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."name" FROM "companies"
|
87362
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."street" FROM "companies"[0m
|
87363
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."number" FROM "companies"
|
87364
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."neighborhood" FROM "companies"[0m
|
87365
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."city" FROM "companies"
|
87366
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."state" FROM "companies"[0m
|
87367
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."user_id" FROM "companies"
|
87368
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87370
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87371
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87372
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87373
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87375
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "companies"
|
87376
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1lxq69l'
|
87377
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1kzi2ku.csv'
|
87378
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87379
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-17z5dfv.csv'
|
87380
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87381
|
+
[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-05 17:27:14.337349"], ["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-05 17:27:14.366875"], ["updated_at", "2017-04-05 17:27:14.366875"]]
|
87382
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87383
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87384
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
87385
|
+
[1m[36mCompany Load (0.2ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1[0m [["user_id", 1], ["name", "foo"]]
|
87386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87387
|
+
[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", ""]]
|
87388
|
+
[1m[35mCompany Load (0.0ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1 [["user_id", 1], ["name", "bar"]]
|
87389
|
+
[1m[36mSQL (0.0ms)[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", ""]]
|
87390
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87391
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
87392
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."name" FROM "companies"
|
87393
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."street" FROM "companies"[0m
|
87394
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."number" FROM "companies"
|
87395
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."neighborhood" FROM "companies"[0m
|
87396
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."city" FROM "companies"
|
87397
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."state" FROM "companies"[0m
|
87398
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."user_id" FROM "companies"
|
87399
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87400
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87401
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87403
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87404
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87405
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87407
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87409
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87411
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87412
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87413
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87414
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87415
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87417
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87419
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87421
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87422
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87423
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-daxrnw'
|
87424
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-jk1359.csv'
|
87425
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87426
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-mib1yg.csv'
|
87427
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87428
|
+
[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-05 17:27:14.475635"], ["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-05 17:27:14.511201"], ["updated_at", "2017-04-05 17:27:14.511201"]]
|
87429
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87430
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
87431
|
+
Parameters: {"id"=>"1"}
|
87432
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87433
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.3ms)
|
87434
|
+
Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.1ms)
|
87435
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87436
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87437
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87438
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87440
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1m20y92'
|
87441
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1gb22a6.csv'
|
87442
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87443
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-9purvp.csv'
|
87444
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87445
|
+
[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-05 17:27:14.563818"], ["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-05 17:27:14.592509"], ["updated_at", "2017-04-05 17:27:14.592509"]]
|
87446
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87447
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
87448
|
+
Parameters: {"id"=>"1"}
|
87449
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87450
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.2ms)
|
87451
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
87452
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87454
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87455
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87456
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
87457
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87458
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87459
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87460
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
87461
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007ff50f8b92a8 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-iborje>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
87462
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-iborje'
|
87463
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-8jqcd7.csv'
|
87464
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87465
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-yk40ad.csv'
|
87466
|
+
[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-04-05 17:27:14.629723"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-05 17:27:14.659287"], ["updated_at", "2017-04-05 17:27:14.659287"]]
|
87467
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87468
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87469
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
87470
|
+
Completed 302 Found in 57ms (ActiveRecord: 0.5ms)
|
87471
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "importers"
|
87472
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87473
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87474
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87475
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87477
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87478
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87479
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
87480
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007ff508d30428 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1w6ubfy>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
87481
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1w6ubfy'
|
87482
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-qu0czi.csv'
|
87483
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87484
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1p88mao.csv'
|
87485
|
+
[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-05 17:27:14.695113"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-05 17:27:14.722924"], ["updated_at", "2017-04-05 17:27:14.722924"]]
|
87486
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87487
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87488
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
87489
|
+
Completed 302 Found in 53ms (ActiveRecord: 0.5ms)
|
87490
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1
|
87491
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
87492
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87493
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87495
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87496
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87498
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
87499
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
87500
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87501
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87502
|
+
Redirected to http://example.com
|
87503
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
87504
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87505
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87506
|
+
[1m[35m (0.1ms)[0m commit transaction
|
87507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87508
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1vg0gtd'
|
87509
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-148zeqm.csv'
|
87510
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87511
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-y83ku1.csv'
|
87512
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87513
|
+
[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-05 17:27:14.768970"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-05 17:27:14.800500"], ["updated_at", "2017-04-05 17:27:14.800500"]]
|
87514
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87515
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87516
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
87517
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87518
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87519
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87520
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.1ms)
|
87521
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
87522
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
87523
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87524
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87525
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87526
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-1we8paj'
|
87527
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1j5fz90.csv'
|
87528
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87529
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1kz9hsc.csv'
|
87530
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87531
|
+
[1m[36mSQL (0.3ms)[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-05 17:27:14.832911"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-05 17:27:14.863685"], ["updated_at", "2017-04-05 17:27:14.863685"]]
|
87532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87533
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87534
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
87535
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87536
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87537
|
+
[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-05 17:27:14.876085"], ["id", 1]]
|
87538
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87539
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
87540
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.4ms)
|
87541
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87542
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87544
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87546
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-18m3f80'
|
87547
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-qhucfi.csv'
|
87548
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87549
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-n0g2ob.csv'
|
87550
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87551
|
+
[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-05 17:27:14.904324"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-05 17:27:14.935625"], ["updated_at", "2017-04-05 17:27:14.935625"]]
|
87552
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87553
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87554
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
87555
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87556
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87557
|
+
[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-05 17:27:14.947775"], ["id", 1]]
|
87558
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87559
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
87560
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.2ms)
|
87561
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87562
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87563
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87565
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170405-54106-sajo8d'
|
87566
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1jc2knq.csv'
|
87567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87568
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170405-54106-1gcf0y0.csv'
|
87569
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87570
|
+
[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-05 17:27:14.972813"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-05 17:27:15.002866"], ["updated_at", "2017-04-05 17:27:15.002866"]]
|
87571
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87572
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87573
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
87574
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87575
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87576
|
+
[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-05 17:27:15.015201"], ["id", 1]]
|
87577
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87578
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
87579
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.2ms)
|
87580
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87582
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87584
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87586
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87587
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87588
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87589
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87590
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87591
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87592
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87593
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87594
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87595
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87596
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87598
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87600
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87602
|
+
[1m[35m (0.1ms)[0m commit transaction
|
87603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87604
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87606
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87608
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87609
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87610
|
+
[1m[35m (0.1ms)[0m commit transaction
|
87611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87612
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87613
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87614
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87615
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87616
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87617
|
+
[1m[36m (1.2ms)[0m [1mDELETE FROM "companies";[0m
|
87618
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
87619
|
+
[1m[36m (0.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'companies';[0m
|
87620
|
+
[1m[35m (0.8ms)[0m DELETE FROM "importers";
|
87621
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
87622
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'importers';
|
87623
|
+
[1m[36m (0.6ms)[0m [1mDELETE FROM "users";[0m
|
87624
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
87625
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
87626
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87627
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87629
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-zuh3ag'
|
87630
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-2p6fjg.csv'
|
87631
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87632
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-lrr9oi.csv'
|
87633
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87634
|
+
[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 19:52:27.398592"], ["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 19:52:27.460100"], ["updated_at", "2017-04-06 19:52:27.460100"]]
|
87635
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87636
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87637
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87638
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87639
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87640
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87641
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87642
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87643
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87645
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87646
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87647
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87648
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
87649
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87650
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87651
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1m2akre'
|
87652
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-c79kr3.csv'
|
87653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87654
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-h4b6z7.csv'
|
87655
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87656
|
+
[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 19:52:27.522427"], ["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 19:52:27.555053"], ["updated_at", "2017-04-06 19:52:27.555053"]]
|
87657
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87658
|
+
Processing by CsvImportMagic::ImportersController#show as HTML
|
87659
|
+
Parameters: {"id"=>"1"}
|
87660
|
+
[1m[35mImporter Load (0.2ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87661
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/show.html.erb within layouts/csv_import_magic (0.4ms)
|
87662
|
+
Completed 200 OK in 31ms (Views: 19.3ms | ActiveRecord: 0.2ms)
|
87663
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87665
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
87666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87667
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-inhput'
|
87668
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-eel28t.csv'
|
87669
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87670
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-s7pt3e.csv'
|
87671
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87672
|
+
[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 19:52:27.619269"], ["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 19:52:27.653484"], ["updated_at", "2017-04-06 19:52:27.653484"]]
|
87673
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87674
|
+
Processing by CsvImportMagic::ImportersController#edit as HTML
|
87675
|
+
Parameters: {"id"=>"1"}
|
87676
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87677
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.2ms)
|
87678
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.1ms)
|
87679
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87680
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87681
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87682
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87683
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87684
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-y3ebob'
|
87685
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1seunbn.csv'
|
87686
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87687
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-bngfyc.csv'
|
87688
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87689
|
+
[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 19:52:27.696490"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 19:52:27.728757"], ["updated_at", "2017-04-06 19:52:27.728757"]]
|
87690
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87691
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87692
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "name", "number", "country", "street"]}, "id"=>"1"}
|
87693
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87694
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87695
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87696
|
+
Rendered /Users/saulodasilva/Pagnet/csv_import_magic/app/views/csv_import_magic/importers/edit.html.erb within layouts/csv_import_magic (0.1ms)
|
87697
|
+
Completed 200 OK in 23ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
87698
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87699
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87700
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87701
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87702
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-14p5teo'
|
87703
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-163nbc2.csv'
|
87704
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87705
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-qgc72i.csv'
|
87706
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87707
|
+
[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 19:52:27.782749"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 19:52:27.812434"], ["updated_at", "2017-04-06 19:52:27.812434"]]
|
87708
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87709
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87710
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
87711
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87712
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87713
|
+
[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 19:52:27.849763"], ["id", 1]]
|
87714
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87715
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
87716
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.3ms)
|
87717
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87718
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
87719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87720
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87722
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1w0txnc'
|
87723
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-noc3lp.csv'
|
87724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87725
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1ksum9g.csv'
|
87726
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87727
|
+
[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 19:52:27.882798"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 19:52:27.911631"], ["updated_at", "2017-04-06 19:52:27.911631"]]
|
87728
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87729
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87730
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
87731
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87732
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87733
|
+
[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 19:52:27.936928"], ["id", 1]]
|
87734
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87735
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
87736
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.3ms)
|
87737
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87738
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87739
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87740
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87741
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1i28ri4'
|
87742
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-8lbdz7.csv'
|
87743
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87744
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-datbs7.csv'
|
87745
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87746
|
+
[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 19:52:27.964132"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 19:52:27.995064"], ["updated_at", "2017-04-06 19:52:27.995064"]]
|
87747
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87748
|
+
Processing by CsvImportMagic::ImportersController#update as HTML
|
87749
|
+
Parameters: {"importer"=>{"columns"=>["neighborhood", "city", "cod", "state", "name", "number", "country", "street"]}, "id"=>"1"}
|
87750
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87751
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87752
|
+
[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 19:52:28.007407"], ["id", 1]]
|
87753
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87754
|
+
Redirected to http://test.host/csv_import_magic/importers/1
|
87755
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.2ms)
|
87756
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87758
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87759
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87761
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87763
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
87764
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fa779349400 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-of5d1j>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
87765
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-of5d1j'
|
87766
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-vgysm7.csv'
|
87767
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87768
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1el6xhr.csv'
|
87769
|
+
[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 19:52:28.043977"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 19:52:28.071428"], ["updated_at", "2017-04-06 19:52:28.071428"]]
|
87770
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87771
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87772
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
87773
|
+
Completed 302 Found in 54ms (ActiveRecord: 0.5ms)
|
87774
|
+
[1m[35mImporter Load (0.7ms)[0m SELECT "importers".* FROM "importers" ORDER BY "importers"."id" DESC LIMIT 1
|
87775
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87777
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87779
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "importers"[0m
|
87780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87781
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87783
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
87784
|
+
Parameters: {"importer"=>{"attachment"=>#<Rack::Test::UploadedFile:0x007fa774dd5f68 @content_type=nil, @original_filename="companies.csv", @tempfile=#<Tempfile:/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1mkr0pb>>, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
87785
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1mkr0pb'
|
87786
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1wjqoec.csv'
|
87787
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87788
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-jzwzif.csv'
|
87789
|
+
[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 19:52:28.118311"], ["importable_type", "User"], ["importable_id", 1], ["source", "company"], ["parser", "company_parser"], ["created_at", "2017-04-06 19:52:28.147632"], ["updated_at", "2017-04-06 19:52:28.147632"]]
|
87790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87791
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87792
|
+
Redirected to http://test.host/csv_import_magic/importers/1/edit
|
87793
|
+
Completed 302 Found in 59ms (ActiveRecord: 0.5ms)
|
87794
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "importers"[0m
|
87795
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87796
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87797
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87798
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87799
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87800
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87801
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87802
|
+
Processing by CsvImportMagic::ImportersController#create as HTML
|
87803
|
+
Parameters: {"importer"=>{"attachment"=>nil, "importable_type"=>"User", "importable_id"=>"1", "source"=>"company"}}
|
87804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87805
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87806
|
+
Redirected to http://example.com
|
87807
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
87808
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
87809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87810
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87811
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87812
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87813
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87814
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87815
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87816
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87818
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87819
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87820
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87821
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87822
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87823
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87824
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87825
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87826
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87827
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87828
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87830
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87832
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87833
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87834
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87835
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87836
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87837
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87838
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
87839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87840
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies_invalid.csv20170406-92002-19gzjw9'
|
87841
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-92002-h0wvma.csv'
|
87842
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87843
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/808a80fbe6df9aed93f9da65bb3aa65320170406-92002-irolfa.csv'
|
87844
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87845
|
+
[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 19:52:28.247634"], ["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 19:52:28.281020"], ["updated_at", "2017-04-06 19:52:28.281020"]]
|
87846
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87847
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87848
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
87849
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87850
|
+
[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", ""]]
|
87851
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
87852
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87853
|
+
[1m[36mImporter Load (0.0ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87855
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/failures20170406-92002-8pd0oz.csv'
|
87856
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/4f34ac7af1d85937a68bd0b0b45b0e4020170406-92002-cak0jm.csv'
|
87857
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/4f34ac7af1d85937a68bd0b0b45b0e4020170406-92002-15qx3v8.csv'
|
87858
|
+
[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", "failures20170406-92002-8pd0oz.csv"], ["attachment_error_content_type", "text/plain"], ["attachment_error_file_size", 127], ["attachment_error_updated_at", "2017-04-06 19:52:28.329502"], ["updated_at", "2017-04-06 19:52:28.357454"], ["id", 1]]
|
87859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87860
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87861
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87862
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87863
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87865
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87867
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87868
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87869
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87870
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87871
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87872
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87873
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87875
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87877
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87878
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87879
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87881
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87883
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87885
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87887
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87888
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87889
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-135oref'
|
87890
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-15xywcl.csv'
|
87891
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87892
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-19ttdeo.csv'
|
87893
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87894
|
+
[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 19:52:28.390984"], ["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 19:52:28.422040"], ["updated_at", "2017-04-06 19:52:28.422040"]]
|
87895
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87896
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87897
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87898
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87900
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1pmprmn'
|
87901
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-ue1zrq.csv'
|
87902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87903
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1hf8etu.csv'
|
87904
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87905
|
+
[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 19:52:28.448188"], ["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 19:52:28.481039"], ["updated_at", "2017-04-06 19:52:28.481039"]]
|
87906
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87907
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
87908
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
87909
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87910
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87911
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87912
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1g8nw4n'
|
87913
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-8nx5je.csv'
|
87914
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87915
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1tf5phh.csv'
|
87916
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
87917
|
+
[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 19:52:28.503919"], ["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 19:52:28.534849"], ["updated_at", "2017-04-06 19:52:28.534849"]]
|
87918
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87919
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
87920
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87922
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87924
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87926
|
+
[1m[35m (0.1ms)[0m commit transaction
|
87927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87928
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-p9mqww'
|
87929
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-48wp7i.csv'
|
87930
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87931
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1sx077.csv'
|
87932
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
87933
|
+
[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 19:52:28.561443"], ["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 19:52:28.593280"], ["updated_at", "2017-04-06 19:52:28.593280"]]
|
87934
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87935
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87936
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87937
|
+
[1m[35m (0.1ms)[0m commit transaction
|
87938
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87939
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-h4de84'
|
87940
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-105320a.csv'
|
87941
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1eoaxun.csv'
|
87942
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1y6ivoa.csv'
|
87943
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-davwbb.csv'
|
87944
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1tazzjr.csv'
|
87945
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-otzkwa.csv'
|
87946
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-khlxvq.csv'
|
87947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87949
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87950
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87951
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-fd1u2q'
|
87952
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1uxe68h.csv'
|
87953
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-ed9fj6.csv'
|
87954
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-10qk2bn.csv'
|
87955
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1wj0h4n.csv'
|
87956
|
+
[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.
|
87957
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-15efexu.csv'
|
87958
|
+
[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.
|
87959
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1npjp58.csv'
|
87960
|
+
[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.
|
87961
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1s6sct9.csv'
|
87962
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87964
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87966
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1cmaz34'
|
87967
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-y2v8hg.csv'
|
87968
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87970
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87971
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87972
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1kvw3ww'
|
87973
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-lefmoa.csv'
|
87974
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/8d777f385d3dfec8815d20f7496026dc20170406-92002-1kf3h4h'
|
87975
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87977
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87978
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87979
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1b68nu9'
|
87980
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-14057k3.csv'
|
87981
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-170ifbc.csv'
|
87982
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-lz1el9.csv'
|
87983
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1ug41gf.csv'
|
87984
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-hauh8y.csv'
|
87985
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87986
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87987
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87989
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-ybydwx'
|
87990
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-wxvf3h.csv'
|
87991
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-4n9mki.csv'
|
87992
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87994
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87996
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1esfjqy'
|
87997
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-16nui6e.csv'
|
87998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87999
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
88000
|
+
[1m[35m (0.1ms)[0m commit transaction
|
88001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88002
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-k3wqco'
|
88003
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1kpaomf.csv'
|
88004
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-lhx0p4.csv'
|
88005
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-x79fwf'
|
88006
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-2tclls.csv'
|
88007
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1phze2w.csv'
|
88008
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88010
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88012
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1vk8jo7'
|
88013
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-wiv477.csv'
|
88014
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
88015
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-pp8heh.csv'
|
88016
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
88017
|
+
[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 19:52:29.216401"], ["source", "company"], ["importable_type", "User"], ["parser", "company_parser"], ["importable_id", 1], ["created_at", "2017-04-06 19:52:29.249013"], ["updated_at", "2017-04-06 19:52:29.249013"]]
|
88018
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88019
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88020
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88021
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88022
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88025
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88027
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88029
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88030
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88031
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
88032
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88033
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88035
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88036
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
88037
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88038
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "companies"[0m
|
88039
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1vedv1z'
|
88040
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-n65bux.csv'
|
88041
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88042
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1ee78ce.csv'
|
88043
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
88044
|
+
[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 19:52:29.308172"], ["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 19:52:29.339934"], ["updated_at", "2017-04-06 19:52:29.339934"]]
|
88045
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88046
|
+
[1m[35mImporter Load (0.0ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
88047
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
88048
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."user_id" = ? AND "companies"."name" = ? LIMIT 1 [["user_id", 1], ["name", "foo"]]
|
88049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
88050
|
+
[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", ""]]
|
88051
|
+
[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"]]
|
88052
|
+
[1m[35mSQL (0.1ms)[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", ""]]
|
88053
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88054
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
88055
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
88056
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."street" FROM "companies"
|
88057
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
88058
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
88059
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
88060
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."state" FROM "companies"
|
88061
|
+
[1m[36m (0.2ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
88062
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88064
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88066
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
88067
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-t6yjoy'
|
88068
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-h79gxz.csv'
|
88069
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88070
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1j5yg0d.csv'
|
88071
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
88072
|
+
[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 19:52:29.392320"], ["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 19:52:29.424551"], ["updated_at", "2017-04-06 19:52:29.424551"]]
|
88073
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
88074
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
88075
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
88076
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88077
|
+
[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", ""]]
|
88078
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
88079
|
+
[1m[35mSQL (0.0ms)[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", ""]]
|
88080
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88081
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
88082
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
88083
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."street" FROM "companies"
|
88084
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
88085
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
88086
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
88087
|
+
[1m[35m (0.0ms)[0m SELECT "companies"."state" FROM "companies"
|
88088
|
+
[1m[36m (0.0ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
88089
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88091
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88092
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88093
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
88094
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-od4cjr'
|
88095
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-10kaj5z.csv'
|
88096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88097
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-1sqndg6.csv'
|
88098
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email") VALUES (?, ?) [["name", "foo"], ["email", "foo@bar.com"]]
|
88099
|
+
[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 19:52:29.463544"], ["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 19:52:29.495051"], ["updated_at", "2017-04-06 19:52:29.495051"]]
|
88100
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
88101
|
+
[1m[36mImporter Load (0.1ms)[0m [1mSELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1[0m [["id", 1]]
|
88102
|
+
[1m[35mCompany Load (0.1ms)[0m SELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1 [["name", "foo"]]
|
88103
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88104
|
+
[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", ""]]
|
88105
|
+
[1m[36mCompany Load (0.0ms)[0m [1mSELECT "companies".* FROM "companies" WHERE "companies"."name" = ? LIMIT 1[0m [["name", "bar"]]
|
88106
|
+
[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", ""]]
|
88107
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88108
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "companies"
|
88109
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."name" FROM "companies"[0m
|
88110
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."street" FROM "companies"
|
88111
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."number" FROM "companies"[0m
|
88112
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."neighborhood" FROM "companies"
|
88113
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."city" FROM "companies"[0m
|
88114
|
+
[1m[35m (0.1ms)[0m SELECT "companies"."state" FROM "companies"
|
88115
|
+
[1m[36m (0.1ms)[0m [1mSELECT "companies"."user_id" FROM "companies"[0m
|
88116
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88118
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88120
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1dii11q'
|
88121
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-6lcac5.csv'
|
88122
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88123
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-bh7pjr.csv'
|
88124
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
88125
|
+
[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 19:52:29.531137"], ["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 19:52:29.564481"], ["updated_at", "2017-04-06 19:52:29.564481"]]
|
88126
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88127
|
+
[1m[35mImporter Load (0.1ms)[0m SELECT "importers".* FROM "importers" WHERE "importers"."id" = ? LIMIT 1 [["id", 1]]
|
88128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88129
|
+
[1m[35mSQL (0.2ms)[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 19:52:29.573788"], ["id", 1]]
|
88130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88131
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88133
|
+
[1m[35m (0.0ms)[0m commit transaction
|
88134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88135
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/companies.csv20170406-92002-1fpdcio'
|
88136
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-3zr2cz.csv'
|
88137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88138
|
+
Command :: file -b --mime '/var/folders/b3/q0lg7mq56gd6gvczrx3rtzw00000gn/T/1465167507001c193cea606daac356fa20170406-92002-lkis0n.csv'
|
88139
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES (?, ?)[0m [["name", "foo"], ["email", "foo@bar.com"]]
|
88140
|
+
[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 19:52:29.597042"], ["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 19:52:29.629903"], ["updated_at", "2017-04-06 19:52:29.629903"]]
|
88141
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88142
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88144
|
+
[1m[35m (0.1ms)[0m commit transaction
|
88145
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88146
|
+
[1m[35m (0.1ms)[0m rollback transaction
|