· 10 years ago · Aug 23, 2016, 12:34 AM
1➜ crm git:(bulk-import-csv) ✗ rails s
2=> Booting WEBrick
3=> Rails 4.2.5 application starting in development on http://localhost:3000
4=> Run `rails server -h` for more startup options
5=> Ctrl-C to shutdown server
6[2016-08-22 20:59:48] INFO WEBrick 1.3.1
7[2016-08-22 20:59:48] INFO ruby 2.3.1 (2016-04-26) [x86_64-linux]
8[2016-08-22 20:59:48] INFO WEBrick::HTTPServer#start: pid=10501 port=3000
9
10
11Started GET "/" for 127.0.0.1 at 2016-08-22 20:59:53 +0900
12 ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
13Processing by WelcomeController#index as HTML
14 Account Load (0.3ms) SELECT "public"."accounts".* FROM "public"."accounts" WHERE "public"."accounts"."subdomain" = $1 LIMIT 1 [["subdomain", ""]]
15* Locale set to 'en'
16 Rendered welcome/index.html.erb within layouts/application (1.6ms)
17 CACHE (0.0ms) SELECT "public"."accounts".* FROM "public"."accounts" WHERE "public"."accounts"."subdomain" = $1 LIMIT 1 [["subdomain", ""]]
18Completed 200 OK in 767ms (Views: 728.4ms | ActiveRecord: 2.4ms)
19
20
21Started GET "/assets/autocomplete.coffee" for 127.0.0.1 at 2016-08-22 20:59:54 +0900
22
23
24Started GET "/accounts/new" for 127.0.0.1 at 2016-08-22 20:59:56 +0900
25Processing by AccountsController#new as HTML
26 Account Load (0.2ms) SELECT "public"."accounts".* FROM "public"."accounts" WHERE "public"."accounts"."subdomain" = $1 LIMIT 1 [["subdomain", ""]]
27* Locale set to 'en'
28 Rendered accounts/new.html.erb within layouts/application (111.8ms)
29Completed 200 OK in 326ms (Views: 283.0ms | ActiveRecord: 7.3ms)
30
31
32Started GET "/assets/autocomplete.coffee" for 127.0.0.1 at 2016-08-22 20:59:56 +0900
33
34
35Started POST "/accounts" for 127.0.0.1 at 2016-08-22 21:00:03 +0900
36Processing by AccountsController#create as HTML
37 Parameters: {"utf8"=>"✓", "authenticity_token"=>"3Iw3sda0fNmnvhKQJA4WgPtoCfUwwU+OaBOZIqCg2/YDosvmfIqBXaXSG9uZXWklpi8pJR99MZxJzKkUhMG64A==", "account"=>{"company_name"=>"hello", "owner_attributes"=>{"name"=>"hello", "email"=>"hello", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"hello"}, "commit"=>"Create Account"}
38 Account Load (1.1ms) SELECT "public"."accounts".* FROM "public"."accounts" WHERE "public"."accounts"."subdomain" = $1 LIMIT 1 [["subdomain", ""]]
39* Locale set to 'en'
40 Account Exists (0.8ms) SELECT 1 AS one FROM "public"."accounts" WHERE LOWER("public"."accounts"."subdomain") = LOWER('hello') LIMIT 1
41 User Exists (1.5ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'hello' LIMIT 1
42 Rendered accounts/new.html.erb within layouts/application (39.3ms)
43Completed 200 OK in 394ms (Views: 292.0ms | ActiveRecord: 3.9ms)
44
45
46Started GET "/assets/autocomplete.coffee" for 127.0.0.1 at 2016-08-22 21:00:03 +0900
47
48
49Started POST "/accounts" for 127.0.0.1 at 2016-08-22 21:00:13 +0900
50Processing by AccountsController#create as HTML
51 Parameters: {"utf8"=>"✓", "authenticity_token"=>"xWeMp1ynPxQ3LTRG6+rDbZ6pEEAlUURUh4iYeA8uiEwaSXDw9pnCkDVBPQ1WubzIw+4wkArtOkamV6hOK0/pWg==", "account"=>{"company_name"=>"hello", "owner_attributes"=>{"name"=>"hello", "email"=>"hello@mail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"hello"}, "commit"=>"Create Account"}
52 Account Load (0.2ms) SELECT "public"."accounts".* FROM "public"."accounts" WHERE "public"."accounts"."subdomain" = $1 LIMIT 1 [["subdomain", ""]]
53* Locale set to 'en'
54 Account Exists (0.4ms) SELECT 1 AS one FROM "public"."accounts" WHERE LOWER("public"."accounts"."subdomain") = LOWER('hello') LIMIT 1
55 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'hello@mail.com' LIMIT 1
56 (54.6ms) CREATE SCHEMA "hello"
57 SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
58 (98.3ms) CREATE TABLE "accounts" ("id" serial primary key, "subdomain" character varying, "owner_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "company_name" character varying)
59 (72.8ms) CREATE TABLE "businesses" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
60 (65.7ms) CREATE TABLE "clients" ("id" serial primary key, "last_name" character varying, "first_name" character varying, "email" character varying, "country_code_phone_number" character varying DEFAULT '81', "phone_number" character varying, "country_code_mobile_number" character varying DEFAULT '81', "mobile_number" character varying, "fax" character varying, "memo" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "country_code_fax" character varying DEFAULT '81', "deleted_at" timestamp, "company_id" integer, "gender_id" integer, "position" character varying, "address" character varying, "zip" character varying, "romaji_full_name" character varying)
61 (39.2ms) CREATE INDEX "index_clients_on_company_id" ON "clients" USING btree ("company_id")
62 (36.9ms) CREATE INDEX "index_clients_on_deleted_at" ON "clients" USING btree ("deleted_at")
63 (64.2ms) CREATE TABLE "companies" ("id" serial primary key, "name" character varying, "zip" character varying, "address" character varying, "country_id" integer, "business_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp, "country_code_phone_number" character varying DEFAULT '81', "phone_number" character varying, "country_code_fax" character varying DEFAULT '81', "fax" character varying, "website" character varying)
64 (39.3ms) CREATE INDEX "index_companies_on_deleted_at" ON "companies" USING btree ("deleted_at")
65 (65.1ms) CREATE TABLE "countries" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
66 (72.4ms) CREATE TABLE "csv_files" ("id" serial primary key, "file_id" character varying, "file_filename" character varying, "file_size" integer, "file_content_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
67 (39.3ms) CREATE INDEX "index_csv_files_on_file_id" ON "csv_files" USING btree ("file_id")
68 (63.0ms) CREATE TABLE "genders" ("id" serial primary key, "name" character varying, "after_name" boolean DEFAULT 'f', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
69 (63.8ms) CREATE TABLE "languages" ("id" serial primary key, "name" character varying, "code" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
70 (64.1ms) CREATE TABLE "refile_attachments" ("id" serial primary key, "oid" integer NOT NULL, "namespace" character varying NOT NULL, "created_at" timestamp)
71 (46.7ms) CREATE INDEX "index_refile_attachments_on_namespace" ON "refile_attachments" USING btree ("namespace")
72 (38.5ms) CREATE INDEX "index_refile_attachments_on_oid" ON "refile_attachments" USING btree ("oid")
73 (48.5ms) CREATE TABLE "relation_clients" ("id" serial primary key, "relation_id" integer, "client_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
74 (39.1ms) CREATE INDEX "index_relation_clients_on_client_id" ON "relation_clients" USING btree ("client_id")
75 (56.4ms) CREATE INDEX "index_relation_clients_on_relation_id" ON "relation_clients" USING btree ("relation_id")
76 (79.4ms) CREATE TABLE "relation_files" ("id" serial primary key, "relation_id" integer, "file_id" character varying, "file_filename" character varying, "file_size" integer, "file_content_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
77 (47.7ms) CREATE INDEX "index_relation_files_on_file_id" ON "relation_files" USING btree ("file_id")
78 (45.4ms) CREATE INDEX "index_relation_files_on_relation_id" ON "relation_files" USING btree ("relation_id")
79 (89.2ms) CREATE TABLE "relation_types" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
80 (48.4ms) CREATE TABLE "relation_users" ("id" serial primary key, "relation_id" integer, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
81 (38.0ms) CREATE INDEX "index_relation_users_on_relation_id" ON "relation_users" USING btree ("relation_id")
82 (44.1ms) CREATE INDEX "index_relation_users_on_user_id" ON "relation_users" USING btree ("user_id")
83 (89.8ms) CREATE TABLE "relations" ("id" serial primary key, "date" date, "title" character varying, "content_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "relation_types_id" integer)
84 (47.5ms) CREATE INDEX "index_relations_on_relation_types_id" ON "relations" USING btree ("relation_types_id")
85 (40.3ms) CREATE TABLE "role_inheritances" ("id" serial primary key, "parent_role_id" integer, "child_role_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
86 (39.1ms) CREATE INDEX "index_role_inheritances_on_child_role_id" ON "role_inheritances" USING btree ("child_role_id")
87 (47.3ms) CREATE INDEX "index_role_inheritances_on_parent_role_id" ON "role_inheritances" USING btree ("parent_role_id")
88 (80.8ms) CREATE TABLE "roles" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
89 (63.8ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "invitation_token" character varying, "invitation_created_at" timestamp, "invitation_sent_at" timestamp, "invitation_accepted_at" timestamp, "invitation_limit" integer, "invited_by_id" integer, "invited_by_type" character varying, "invitations_count" integer DEFAULT 0, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "role_id" integer, "avatar_id" character varying, "avatar_filename" character varying, "avatar_size" integer, "avatar_content_type" character varying, "languages_id" integer)
90 (39.2ms) CREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" USING btree ("confirmation_token")
91 (39.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
92 (34.5ms) CREATE UNIQUE INDEX "index_users_on_invitation_token" ON "users" USING btree ("invitation_token")
93 (39.3ms) CREATE INDEX "index_users_on_invitations_count" ON "users" USING btree ("invitations_count")
94 (36.9ms) CREATE INDEX "index_users_on_invited_by_id" ON "users" USING btree ("invited_by_id")
95 (45.4ms) CREATE INDEX "index_users_on_languages_id" ON "users" USING btree ("languages_id")
96 (47.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")
97 (47.7ms) CREATE INDEX "index_users_on_role_id" ON "users" USING btree ("role_id")
98 (40.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
99 (46.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
100 (0.4ms) SELECT version FROM "schema_migrations"
101 (6.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160714071440')
102 (7.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160610085238')
103 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160512030050')
104 (8.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160526072357')
105 (7.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160601061923')
106 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160513014342')
107 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151216090717')
108 (8.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160419033350')
109 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160610084433')
110 (8.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418010904')
111 (7.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428075233')
112 (9.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151215010659')
113 (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160421092321')
114 (8.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428055033')
115 (8.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428051229')
116 (7.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160419032359')
117 (9.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428071354')
118 (6.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160419070140')
119 (7.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160610082758')
120 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160425025407')
121 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160707002733')
122 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160517051537')
123 (8.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160419055540')
124 (6.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160610070707')
125 (7.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160419044554')
126 (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151214063314')
127 (9.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160427031255')
128 (6.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151216055005')
129 (9.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160427031924')
130 (6.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160517050056')
131 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = $1 LIMIT 1 [["name", "Admin"]]
132 (0.1ms) BEGIN
133 Account Exists (0.2ms) SELECT 1 AS one FROM "public"."accounts" WHERE LOWER("public"."accounts"."subdomain") = LOWER('hello') LIMIT 1
134 User Exists (0.7ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'hello@mail.com' LIMIT 1
135 User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["confirmation_token", "536c38086edf340f375a78ae63e6a04af186ce29833157e34436b5053ff2068f"]]
136 SQL (0.6ms) INSERT INTO "users" ("name", "email", "encrypted_password", "role_id", "languages_id", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["name", "hello"], ["email", "hello@mail.com"], ["encrypted_password", "$2a$10$.UHT77r0T0y7sTijvxVJROr.rYdNnfFo3y8VN7wpcmRCu5J19TlLm"], ["role_id", 3], ["languages_id", 1], ["created_at", "2016-08-22 12:00:36.839006"], ["updated_at", "2016-08-22 12:00:36.839006"], ["confirmation_token", "NkNXkkh6ShpPDNdXJ2Vh"], ["confirmation_sent_at", "2016-08-22 12:00:37.029491"]]
137 Rendered devise/mailer/confirmation_instructions.html.erb (1.3ms)
138
139Devise::Mailer#confirmation_instructions: processed outbound mail in 213.0ms
140
141Sent mail to hello@mail.com (20.8ms)
142Date: Mon, 22 Aug 2016 21:00:37 +0900
143From: noreply@exjcrm.com
144Reply-To: noreply@exjcrm.com
145To: hello@mail.com
146Message-ID: <57bae9653f0db_2905423072c296e5@antergos.mail>
147Subject: [EXJ Crm] Confirmation instructions
148Mime-Version: 1.0
149Content-Type: text/html;
150 charset=UTF-8
151Content-Transfer-Encoding: 7bit
152
153<h1>EXJ Crm</h1>
154<br/>
155
156<h2>Dear hello,</h2>
157<p>You have successfully completed your registration at EXJ Crm !</p>
158<br/>
159
160<p>Please confirm your account by clicking on the link below :</p>
161<p><a href="http://hello.lvh.me:3000/users/confirmation?confirmation_token=NkNXkkh6ShpPDNdXJ2Vh">Confirm my account</a></p>
162<br/>
163
164<p>Regards</p>
165<p>EXJ staff</p>
166<br/>
167
168<p>----------------------------</p>
169<p>This is an automated email, no reply is required. If this email was not requested please contact us through our website.</p>
170<p>No one from the EXJ staff will never ask you for your password.</p>
171 SQL (0.4ms) INSERT INTO "public"."accounts" ("subdomain", "company_name", "owner_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["subdomain", "hello"], ["company_name", "hello"], ["owner_id", 1], ["created_at", "2016-08-22 12:00:37.274187"], ["updated_at", "2016-08-22 12:00:37.274187"]]
172 (17.8ms) COMMIT
173 Client Load (0.6ms) SELECT "clients".* FROM "clients" WHERE "clients"."deleted_at" IS NULL ORDER BY "clients"."id" ASC LIMIT 1000
174 Company Load (0.3ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 1]]
175 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 1]]
176 Company Load (1.3ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 6]]
177 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 6]]
178 Company Load (0.5ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 7]]
179 CACHE (0.1ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 7]]
180 Company Load (0.4ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 2]]
181 Company Load (3.4ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 5]]
182 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 5]]
183 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 5]]
184 Client Import (768.5ms) {"count":12}
185 Company Load (0.5ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL ORDER BY "companies"."id" ASC LIMIT 1000
186 Country Load (0.2ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = $1 LIMIT 1 [["id", 114]]
187 Business Load (0.2ms) SELECT "businesses".* FROM "businesses" WHERE "businesses"."id" = $1 LIMIT 1 [["id", 2]]
188 Country Load (0.3ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = $1 LIMIT 1 [["id", 242]]
189 Business Load (0.2ms) SELECT "businesses".* FROM "businesses" WHERE "businesses"."id" = $1 LIMIT 1 [["id", 8]]
190 Country Load (0.3ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = $1 LIMIT 1 [["id", 158]]
191 Business Load (0.3ms) SELECT "businesses".* FROM "businesses" WHERE "businesses"."id" = $1 LIMIT 1 [["id", 13]]
192 CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = $1 LIMIT 1 [["id", 242]]
193 Business Load (0.3ms) SELECT "businesses".* FROM "businesses" WHERE "businesses"."id" = $1 LIMIT 1 [["id", 9]]
194 CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = $1 LIMIT 1 [["id", 242]]
195 Business Load (0.4ms) SELECT "businesses".* FROM "businesses" WHERE "businesses"."id" = $1 LIMIT 1 [["id", 5]]
196 CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = $1 LIMIT 1 [["id", 242]]
197 CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = $1 LIMIT 1 [["id", 114]]
198 Business Load (0.4ms) SELECT "businesses".* FROM "businesses" WHERE "businesses"."id" = $1 LIMIT 1 [["id", 14]]
199 Company Import (616.5ms) {"count":7}
200 Country Load (0.8ms) SELECT "countries".* FROM "countries" ORDER BY "countries"."id" ASC LIMIT 1000
201 Country Import (677.6ms) {"count":253}
202 Business Load (0.3ms) SELECT "businesses".* FROM "businesses" ORDER BY "businesses"."id" ASC LIMIT 1000
203 Business Import (633.8ms) {"count":14}
204 Relation Load (0.3ms) SELECT "relations".* FROM "relations" ORDER BY "relations"."id" ASC LIMIT 1000
205 RelationType Load (0.2ms) SELECT "relation_types".* FROM "relation_types" WHERE "relation_types"."id" = $1 LIMIT 1 [["id", 6]]
206 Client Load (0.5ms) SELECT "clients".* FROM "clients" INNER JOIN "relation_clients" ON "clients"."id" = "relation_clients"."client_id" WHERE "clients"."deleted_at" IS NULL AND "relation_clients"."relation_id" = $1 [["relation_id", 1]]
207 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 7]]
208 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 7]]
209 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 1]]
210 RelationType Load (0.3ms) SELECT "relation_types".* FROM "relation_types" WHERE "relation_types"."id" = $1 LIMIT 1 [["id", 4]]
211 Client Load (0.4ms) SELECT "clients".* FROM "clients" INNER JOIN "relation_clients" ON "clients"."id" = "relation_clients"."client_id" WHERE "clients"."deleted_at" IS NULL AND "relation_clients"."relation_id" = $1 [["relation_id", 2]]
212 RelationType Load (0.3ms) SELECT "relation_types".* FROM "relation_types" WHERE "relation_types"."id" = $1 LIMIT 1 [["id", 1]]
213 Client Load (0.2ms) SELECT "clients".* FROM "clients" INNER JOIN "relation_clients" ON "clients"."id" = "relation_clients"."client_id" WHERE "clients"."deleted_at" IS NULL AND "relation_clients"."relation_id" = $1 [["relation_id", 3]]
214 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 5]]
215 RelationType Load (0.2ms) SELECT "relation_types".* FROM "relation_types" WHERE "relation_types"."id" = $1 LIMIT 1 [["id", 7]]
216 Client Load (0.2ms) SELECT "clients".* FROM "clients" INNER JOIN "relation_clients" ON "clients"."id" = "relation_clients"."client_id" WHERE "clients"."deleted_at" IS NULL AND "relation_clients"."relation_id" = $1 [["relation_id", 4]]
217 CACHE (0.0ms) SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1 LIMIT 1 [["id", 5]]
218 Relation Import (655.7ms) {"count":4}
219 RelationType Load (0.8ms) SELECT "relation_types".* FROM "relation_types" ORDER BY "relation_types"."id" ASC LIMIT 1000
220 RelationType Import (704.1ms) {"count":7}
221Redirected to http://hello.lvh.me:3000/users/sign_in
222Completed 302 Found in 30108ms (Searchkick: 18500.7ms | ActiveRecord: 7120.6ms)
223
224
225Started GET "/users/sign_in" for 127.0.0.1 at 2016-08-22 21:00:44 +0900
226Processing by Devise::SessionsController#new as HTML
227 Account Load (0.3ms) SELECT "public"."accounts".* FROM "public"."accounts" WHERE "public"."accounts"."subdomain" = $1 LIMIT 1 [["subdomain", "hello"]]
228* Locale set to 'en'
229 Rendered devise/shared/_links.html.erb (28.4ms)
230 Rendered devise/sessions/new.html.erb within layouts/application (59.4ms)
231Completed 200 OK in 469ms (Views: 463.7ms | ActiveRecord: 1.4ms)
232
233
234Started GET "/assets/autocomplete.coffee" for 127.0.0.1 at 2016-08-22 21:00:44 +0900