[1m[36m (10.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m [1m[35m (0.2ms)[0m select sqlite_version(*) [1m[36m (7.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateThings (20140428155742) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.6ms)[0m CREATE TABLE "things" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "account_id" integer, "created_at" datetime, "updated_at" datetime) [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140428155742"]] [1m[35m (12.4ms)[0m commit transaction Migrating to CreateMtdeviseAccounts (20150426071228) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m CREATE TABLE "mtdevise_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150426071228"]] [1m[35m (9.7ms)[0m commit transaction Migrating to AddOwnerIdToMtdeviseAccounts (20150426115631) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.5ms)[0m ALTER TABLE "mtdevise_accounts" ADD "owner_id" integer [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150426115631"]] [1m[35m (9.1ms)[0m commit transaction Migrating to CreateMtdeviseUsers (20150426115910) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TABLE "mtdevise_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "created_at" datetime, "updated_at" datetime) [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150426115910"]] [1m[35m (10.8ms)[0m commit transaction Migrating to AddDeviseToMtdeviseUsers (20150426143800) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m ALTER TABLE "mtdevise_users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL [1m[36m (0.2ms)[0m [1mALTER TABLE "mtdevise_users" ADD "reset_password_token" varchar[0m [1m[35m (0.2ms)[0m ALTER TABLE "mtdevise_users" ADD "reset_password_sent_at" datetime [1m[36m (0.2ms)[0m [1mALTER TABLE "mtdevise_users" ADD "remember_created_at" datetime[0m [1m[35m (0.2ms)[0m ALTER TABLE "mtdevise_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL [1m[36m (0.2ms)[0m [1mALTER TABLE "mtdevise_users" ADD "current_sign_in_at" datetime[0m [1m[35m (0.2ms)[0m ALTER TABLE "mtdevise_users" ADD "last_sign_in_at" datetime [1m[36m (0.2ms)[0m [1mALTER TABLE "mtdevise_users" ADD "current_sign_in_ip" varchar[0m [1m[35m (0.2ms)[0m ALTER TABLE "mtdevise_users" ADD "last_sign_in_ip" varchar [1m[36m (2.2ms)[0m [1mCREATE UNIQUE INDEX "index_mtdevise_users_on_email" ON "mtdevise_users" ("email")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mtdevise_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mtdevise_users_on_email' AND type='index' [1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_mtdevise_users_on_reset_password_token" ON "mtdevise_users" ("reset_password_token")[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426143800"]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m Migrating to AddSubdomainToMtdeviseAccounts (20150427200506) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mALTER TABLE "mtdevise_accounts" ADD "subdomain" varchar[0m [1m[35m (0.2ms)[0m CREATE INDEX "index_mtdevise_accounts_on_subdomain" ON "mtdevise_accounts" ("subdomain") [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150427200506"]] [1m[35m (9.4ms)[0m commit transaction Migrating to CreateMtdeviseMembers (20150428110406) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m CREATE TABLE "mtdevise_members" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime) [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150428110406"]] [1m[35m (10.4ms)[0m commit transaction Migrating to AddConfirmedAtToUsers (20150504181830) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.6ms)[0m ALTER TABLE "mtdevise_users" ADD "confirmed_at" datetime [1m[36m (0.3ms)[0m [1mALTER TABLE "mtdevise_users" ADD "confirmation_token" varchar[0m [1m[35m (0.2ms)[0m ALTER TABLE "mtdevise_users" ADD "confirmation_sent_at" datetime [1m[36m (0.2ms)[0m [1mALTER TABLE "mtdevise_users" ADD "unconfirmed_email" varchar[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150504181830"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Migrating to AddAuthenticationTokenToMtdeviseUsers (20150719125100) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.5ms)[0m [1mALTER TABLE "mtdevise_users" ADD "authentication_token" varchar[0m [1m[35m (0.2ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_mtdevise_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mtdevise_users_on_email' AND type='index' [0m [1m[35m (0.2ms)[0m CREATE INDEX "index_mtdevise_users_on_authentication_token" ON "mtdevise_users" ("authentication_token") [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150719125100"]] [1m[35m (7.8ms)[0m commit transaction Migrating to AddFirstnameToMtdeviseAccounts (20151231043439) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m ALTER TABLE "mtdevise_accounts" ADD "firstname" varchar [1m[36m (0.3ms)[0m [1mALTER TABLE "mtdevise_accounts" ADD "lastname" varchar[0m [1m[35m (0.3ms)[0m ALTER TABLE "mtdevise_accounts" ADD "username" varchar [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151231043439"]] [1m[35m (8.3ms)[0m commit transaction [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (0.2ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mtdevise_accounts_on_subdomain' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mtdevise_accounts_on_subdomain' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_mtdevise_users_on_authentication_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mtdevise_users_on_authentication_token' AND type='index' [0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index' [1m[36m (0.3ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_mtdevise_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mtdevise_users_on_email' AND type='index' [0m [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:38 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (3.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.8ms) Completed 200 OK in 8964ms (Views: 8947.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:00:47 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.8ms) [1m[35m (13.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-09 23:00:47.748058"], ["updated_at", "2016-03-09 23:00:47.748058"]] [1m[36m (12.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:47 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:00:47 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:47 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:00:47 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:47 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:00:47 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms) [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) [1m[35m (11.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) [1m[35m (12.8ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 Processing by Devise::SessionsController#new as HTML Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms) [1m[35m (12.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:00:48 +0000 Processing by Devise::SessionsController#new as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms) [1m[35m (11.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (18.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (16.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (15.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (12.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (12.4ms)[0m DELETE FROM "things"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (13.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (12.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xUGgt4_yiQGhjcuQExdu"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$.EUAUrha084hijaYgTu7G.ggZNP15IJOZ5g1r/4ivFbvgej.c8.dK"], ["confirmed_at", "2016-03-09 23:01:50.609577"], ["authentication_token", "xUGgt4_yiQGhjcuQExdu"], ["created_at", "2016-03-09 23:01:50.697491"], ["updated_at", "2016-03-09 23:01:50.697491"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:50.726073"], ["updated_at", "2016-03-09 23:01:50.726073"]] [1m[35m (11.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:50.771927"], ["updated_at", "2016-03-09 23:01:50.771927"]] [1m[36m (12.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:50 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (92.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.7ms) Completed 200 OK in 435ms (Views: 411.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-09 23:01:51.254659"], ["current_sign_in_at", "2016-03-09 23:01:51.254659"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:01:51.255879"], ["id", 1]] [1m[36m (12.5ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 39ms (ActiveRecord: 13.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (6.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 22ms (Views: 16.0ms | ActiveRecord: 0.7ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Ve8Gssu8mzWLbyPDNEi8"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$ELRWWFIdz1Rzz3OCiLHLE.NZBZlfWfyuRu5OcEX0NyMG8MLZctAby"], ["confirmed_at", "2016-03-09 23:01:51.399289"], ["authentication_token", "Ve8Gssu8mzWLbyPDNEi8"], ["created_at", "2016-03-09 23:01:51.402544"], ["updated_at", "2016-03-09 23:01:51.402544"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:51.420656"], ["updated_at", "2016-03-09 23:01:51.420656"]] [1m[35m (11.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:51.438072"], ["updated_at", "2016-03-09 23:01:51.438072"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms) [1m[36m (12.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "8sfUiGG4NjyypzYDJkBB"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$/PhpFtDW/WnELv2jmV0qKePjJ9pohfwdJpq.G3r6uW0v4OMjmOPKW"], ["confirmed_at", "2016-03-09 23:01:51.614803"], ["authentication_token", "8sfUiGG4NjyypzYDJkBB"], ["created_at", "2016-03-09 23:01:51.618191"], ["updated_at", "2016-03-09 23:01:51.618191"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-09 23:01:51.655111"], ["current_sign_in_at", "2016-03-09 23:01:51.655111"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:01:51.656403"], ["id", 1]] [1m[36m (12.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (8.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.9ms | ActiveRecord: 0.0ms) [1m[36m (8.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:51 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) [1m[36m (12.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (13.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "G877WKiKTfWayK33ukgx"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$RdZhE0Po2sbPDRH1CQ2/He57KHnuRyfF.qWBLCH3lzDpAs.1inQoq"], ["confirmed_at", "2016-03-09 23:01:52.023186"], ["authentication_token", "G877WKiKTfWayK33ukgx"], ["created_at", "2016-03-09 23:01:52.026046"], ["updated_at", "2016-03-09 23:01:52.026046"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:52.043193"], ["updated_at", "2016-03-09 23:01:52.043193"]] [1m[36m (14.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:52.063148"], ["updated_at", "2016-03-09 23:01:52.063148"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "y9hdfwmuqxzCRXxyEVhE"]] [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$J6LXo1.2mnUPliURIIqUCuo6h0T8/cwruapFbr/5MGFpC8L61gQIW"], ["confirmed_at", "2016-03-09 23:01:52.078294"], ["authentication_token", "y9hdfwmuqxzCRXxyEVhE"], ["created_at", "2016-03-09 23:01:52.081948"], ["updated_at", "2016-03-09 23:01:52.081948"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 2], ["created_at", "2016-03-09 23:01:52.099635"], ["updated_at", "2016-03-09 23:01:52.099635"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-09 23:01:52.114705"], ["updated_at", "2016-03-09 23:01:52.114705"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-09 23:01:52.136734"], ["updated_at", "2016-03-09 23:01:52.136734"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-09 23:01:52.151290"], ["updated_at", "2016-03-09 23:01:52.151290"]] [1m[35m (10.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test5@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-09 23:01:52.195730"], ["current_sign_in_at", "2016-03-09 23:01:52.195730"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:01:52.196921"], ["id", 2]] [1m[35m (11.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 12.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET "/things" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test4"]] Processing by ThingsController#index as HTML [1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 2]] Rendered things/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms) [1m[36m (12.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (13.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "KSEVUJCvEWPec5gaeBAJ"]] [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$Gk0dBC3RZBY9ckEtPWWewO/cI5PNm3mQ7JeMbxfH9CHJJriNYJqBq"], ["confirmed_at", "2016-03-09 23:01:52.334604"], ["authentication_token", "KSEVUJCvEWPec5gaeBAJ"], ["created_at", "2016-03-09 23:01:52.338273"], ["updated_at", "2016-03-09 23:01:52.338273"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:52.355594"], ["updated_at", "2016-03-09 23:01:52.355594"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:52.371202"], ["updated_at", "2016-03-09 23:01:52.371202"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "-fSLB-djRGXPnRYN1ffE"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$V5TBNZotmD7HJdGq9epvXu2m1IPDVuGaIIQtjIoc1CLtESaPOt8e."], ["confirmed_at", "2016-03-09 23:01:52.386786"], ["authentication_token", "-fSLB-djRGXPnRYN1ffE"], ["created_at", "2016-03-09 23:01:52.390465"], ["updated_at", "2016-03-09 23:01:52.390465"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 2], ["created_at", "2016-03-09 23:01:52.407881"], ["updated_at", "2016-03-09 23:01:52.407881"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-09 23:01:52.425638"], ["updated_at", "2016-03-09 23:01:52.425638"]] [1m[35m (15.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-09 23:01:52.445145"], ["updated_at", "2016-03-09 23:01:52.445145"]] [1m[36m (8.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-09 23:01:52.456794"], ["updated_at", "2016-03-09 23:01:52.456794"]] [1m[35m (11.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test7@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-09 23:01:52.500268"], ["current_sign_in_at", "2016-03-09 23:01:52.500268"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:01:52.501578"], ["id", 1]] [1m[35m (10.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 11.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (85.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 92ms (Views: 89.0ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-03-09 23:01:52 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test5"]] Processing by ThingsController#index as HTML [1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 1]] Rendered things/index.html.erb within layouts/application (0.9ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.1ms) [1m[36m (12.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "gThSJHLyHFhso84DUqpP"]] [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "ea20fd6e742b1e26ce6ca0e3690195e84b68b5427b4e67fb5e7ced9cfef4a566"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "user@example.com"], ["encrypted_password", "$2a$04$7Xi6febOLgcO8SHs5HJLOudoJwWN0bEBjJssMEH9vR8TB1zT73pPu"], ["authentication_token", "gThSJHLyHFhso84DUqpP"], ["created_at", "2016-03-09 23:01:52.761881"], ["updated_at", "2016-03-09 23:01:52.761881"], ["confirmation_token", "LFL4atoPboKcKe5gsCsY"], ["confirmation_sent_at", "2016-03-09 23:01:53.003771"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.0ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 297.1ms Sent mail to user@example.com (13.0ms) Date: Wed, 09 Mar 2016 23:01:53 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e0ab614f4f5_51e953133018573@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:53.331099"], ["updated_at", "2016-03-09 23:01:53.331099"]] [1m[35m (14.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:53.350640"], ["updated_at", "2016-03-09 23:01:53.350640"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-09 23:01:53.362670"], ["updated_at", "2016-03-09 23:01:53.363321"], ["id", 1]] [1m[35m (9.8ms)[0m commit transaction [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (8.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "VnMyLZ2V1xssx9HfwmsQ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$lndYasbBgU4fvuWYcU1.MOtUgQJEBbP/HsxpsvWSKWW5XXb3npzaW"], ["confirmed_at", "2016-03-09 23:01:53.499330"], ["authentication_token", "VnMyLZ2V1xssx9HfwmsQ"], ["created_at", "2016-03-09 23:01:53.502642"], ["updated_at", "2016-03-09 23:01:53.502642"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:53.520414"], ["updated_at", "2016-03-09 23:01:53.520414"]] [1m[35m (12.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:53.537506"], ["updated_at", "2016-03-09 23:01:53.537506"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.3ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test10@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-09 23:01:53.574870"], ["current_sign_in_at", "2016-03-09 23:01:53.574870"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:01:53.575883"], ["id", 1]] [1m[36m (12.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 13.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.3ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "bXPv2gDaiW-KT_yoKbxu"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$FzJ3h8TPvN91olytaFW6K.R9m.KHzQ6l3mxfEY/TRkSO8mDCkUOYK"], ["confirmed_at", "2016-03-09 23:01:53.803115"], ["authentication_token", "bXPv2gDaiW-KT_yoKbxu"], ["created_at", "2016-03-09 23:01:53.806359"], ["updated_at", "2016-03-09 23:01:53.806359"]] [1m[35m (11.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-09 23:01:53.847617"], ["current_sign_in_at", "2016-03-09 23:01:53.847617"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:01:53.848581"], ["id", 1]] [1m[35m (11.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-09 23:01:53 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 9.1ms | ActiveRecord: 1.2ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "2yjvE2hmqN4JmbVjdcCy"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$kKB5EEwi6nWrqBn3Ch25i.ItlPzX409ulKdCC7NyPRguSh/CCI35G"], ["confirmed_at", "2016-03-09 23:01:54.067828"], ["authentication_token", "2yjvE2hmqN4JmbVjdcCy"], ["created_at", "2016-03-09 23:01:54.071121"], ["updated_at", "2016-03-09 23:01:54.071121"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:54.088505"], ["updated_at", "2016-03-09 23:01:54.088505"]] [1m[35m (12.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:54.105329"], ["updated_at", "2016-03-09 23:01:54.105329"]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 10.2ms | ActiveRecord: 1.4ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Qx8jJKDjz1MNxmKRywsQ"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "3c8098dfa60819bf021091068510138d06b92be93356f1e46d35775b02be3ff4"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$bAHrgDMkMtW.122jJkLZo.UCe2quvpOAJgEuLokh/z54FirrSdIwO"], ["authentication_token", "Qx8jJKDjz1MNxmKRywsQ"], ["created_at", "2016-03-09 23:01:54.316705"], ["updated_at", "2016-03-09 23:01:54.316705"], ["confirmation_token", "Etg3bAvijyYe8miApNc6"], ["confirmation_sent_at", "2016-03-09 23:01:54.317806"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.5ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 5.3ms Sent mail to mtdevise@example.com (2.4ms) Date: Wed, 09 Mar 2016 23:01:54 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e0ab624f91a_51e95313301867e@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.1ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-09 23:01:54.328037"], ["updated_at", "2016-03-09 23:01:54.328037"]] [1m[36m (13.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:01:54.345667"], ["updated_at", "2016-03-09 23:01:54.345667"]] [1m[35m (12.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-09 23:01:54.360048"], ["updated_at", "2016-03-09 23:01:54.360824"], ["id", 1]] [1m[36m (12.5ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-09 23:01:54.379985"], ["current_sign_in_at", "2016-03-09 23:01:54.379985"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:01:54.380731"], ["id", 1]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 88ms (ActiveRecord: 52.8ms) Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.3ms) [1m[36m (12.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-09 23:01:54.496783"], ["updated_at", "2016-03-09 23:01:54.496783"]] [1m[35m (11.9ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (2.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (6.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 9.9ms | ActiveRecord: 1.5ms) [1m[36m (13.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-09 23:01:54 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-09 23:06:30.604486"], ["updated_at", "2016-03-09 23:06:30.604486"]] [1m[36m (20.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:06:30.667642"], ["updated_at", "2016-03-09 23:06:30.667642"]] [1m[35m (13.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-09 23:06:30.683695"], ["updated_at", "2016-03-09 23:06:30.684990"], ["id", 1]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-09 23:06:30.704703"], ["current_sign_in_at", "2016-03-09 23:06:30.704703"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 23:06:30.705727"], ["id", 1]] [1m[36m (14.0ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 822ms (ActiveRecord: 63.2ms) Started GET "/" for 127.0.0.1 at 2016-03-09 23:06:30 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.4ms) [1m[36m (11.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "w3T7swtwB-wFVxHyJbqD"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$8JTojl399IBBERBgLcur4um6J0J/dOxUq/CeATm1mYBR6S5hiHDhK"], ["confirmed_at", "2016-03-09 23:06:30.826376"], ["authentication_token", "w3T7swtwB-wFVxHyJbqD"], ["created_at", "2016-03-09 23:06:30.830522"], ["updated_at", "2016-03-09 23:06:30.830522"]] [1m[36m (13.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-09 23:06:30.851138"], ["updated_at", "2016-03-09 23:06:30.851138"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:06:30.866744"], ["updated_at", "2016-03-09 23:06:30.866744"]] [1m[35m (10.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-09 23:06:30 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:06:30 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (7.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-09 23:06:30 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 8.4ms | ActiveRecord: 1.6ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-09 23:06:31 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-09 23:06:31 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-09 23:06:31 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-09 23:06:34.310065"], ["updated_at", "2016-03-09 23:06:34.310065"]] [1m[35m (11.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-09 23:06:34.326397"], ["updated_at", "2016-03-09 23:06:34.326397"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-09 23:06:34.338650"], ["updated_at", "2016-03-09 23:06:34.339273"], ["id", 1]] [1m[35m (9.5ms)[0m commit transaction [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (10.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (13.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.9ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (26.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:11 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (9.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.8ms) Completed 200 OK in 10447ms (Views: 10423.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:19:21 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 41ms (ActiveRecord: 0.8ms) [1m[35m (17.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:21 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:19:21 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.4ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-10 23:19:22.005159"], ["updated_at", "2016-03-10 23:19:22.005159"]] [1m[36m (15.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms) [1m[35m (9.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Devise::SessionsController#new as HTML Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.1ms) [1m[35m (9.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (41.5ms) Completed 500 Internal Server Error in 46ms (ActiveRecord: 0.0ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::AccountsController#new as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.3ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (6.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:19:22 +0000 Processing by Devise::SessionsController#new as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (1.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (1.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.6ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (6.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (12.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:24 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 21ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:24 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (248.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (57.5ms) Completed 500 Internal Server Error in 795ms (ActiveRecord: 3.4ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "SBPyomvRsYqcjwxXBiVc"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$hSQSq.I2hzRUF.uAZGHhMuN8JyuhsntZDt3gyVtu6F4DZwGbvV8gy"], ["confirmed_at", "2016-03-10 23:33:25.549234"], ["authentication_token", "SBPyomvRsYqcjwxXBiVc"], ["created_at", "2016-03-10 23:33:25.617383"], ["updated_at", "2016-03-10 23:33:25.617383"]] [1m[35m (11.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:25.652449"], ["updated_at", "2016-03-10 23:33:25.652449"]] [1m[35m (11.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:25.718689"], ["updated_at", "2016-03-10 23:33:25.718689"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:25 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:25 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-10 23:33:25.772169"], ["current_sign_in_at", "2016-03-10 23:33:25.772169"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:25.773373"], ["id", 1]] [1m[36m (27.5ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 51ms (ActiveRecord: 28.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:25 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (11.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (77.8ms) Completed 500 Internal Server Error in 111ms (ActiveRecord: 0.8ms) [1m[35m (12.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (17.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ov8uS_nFUd3qSSmz2csY"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "0f85abc7a5facdfc7488144389d01cab2e7baa4808c3d1626787bea4cfda534c"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "user@example.com"], ["encrypted_password", "$2a$04$2tTBftQ9jiZvKuTA1oqp.OH/JwhxqAQuGrW1rdIL.a/2oIF/b577O"], ["authentication_token", "ov8uS_nFUd3qSSmz2csY"], ["created_at", "2016-03-10 23:33:26.062408"], ["updated_at", "2016-03-10 23:33:26.062408"], ["confirmation_token", "iQsMAvDMKsejTrBmogk4"], ["confirmation_sent_at", "2016-03-10 23:33:26.266974"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (2.9ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 446.1ms Sent mail to user@example.com (40.1ms) Date: Thu, 10 Mar 2016 23:33:26 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e20446bae11_81b10d70f45757d@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:26.780498"], ["updated_at", "2016-03-10 23:33:26.780498"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:26.796701"], ["updated_at", "2016-03-10 23:33:26.796701"]] [1m[35m (30.2ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-10 23:33:26.828658"], ["updated_at", "2016-03-10 23:33:26.829516"], ["id", 1]] [1m[36m (8.6ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (23.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (14.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "FADW4KaEQx2aNQioJdmj"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$UXGaC167P.vChBki1hlMvej8Yr/pcECVp6hpyfmUvVYGh0fW4PYMS"], ["confirmed_at", "2016-03-10 23:33:26.983809"], ["authentication_token", "FADW4KaEQx2aNQioJdmj"], ["created_at", "2016-03-10 23:33:26.986811"], ["updated_at", "2016-03-10 23:33:26.986811"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:27.002751"], ["updated_at", "2016-03-10 23:33:27.002751"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:27.016935"], ["updated_at", "2016-03-10 23:33:27.016935"]] [1m[35m (16.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "yNnb3xkbsE7SVr4rFb45"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$.T3OEU68pS3LB0mSrgDjGOZfNx8PtUliVVZgi5QfojQC9v5bs8Ei6"], ["confirmed_at", "2016-03-10 23:33:27.037389"], ["authentication_token", "yNnb3xkbsE7SVr4rFb45"], ["created_at", "2016-03-10 23:33:27.040179"], ["updated_at", "2016-03-10 23:33:27.040179"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 2], ["created_at", "2016-03-10 23:33:27.055047"], ["updated_at", "2016-03-10 23:33:27.055047"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:33:27.068049"], ["updated_at", "2016-03-10 23:33:27.068049"]] [1m[35m (11.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:33:27.088610"], ["updated_at", "2016-03-10 23:33:27.088610"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:33:27.100278"], ["updated_at", "2016-03-10 23:33:27.100278"]] [1m[35m (9.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test3@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:33:27.138518"], ["current_sign_in_at", "2016-03-10 23:33:27.138518"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:27.139465"], ["id", 1]] [1m[35m (9.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (49.0ms) Completed 500 Internal Server Error in 56ms (ActiveRecord: 0.3ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "GixQQHi8JyQ5uVvx5xgh"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$1Bn30J0MvHxKn1WrCEpSneAcUgWaRhVTupA5UzXQ2InrjNXA.dygS"], ["confirmed_at", "2016-03-10 23:33:27.295162"], ["authentication_token", "GixQQHi8JyQ5uVvx5xgh"], ["created_at", "2016-03-10 23:33:27.299226"], ["updated_at", "2016-03-10 23:33:27.299226"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:27.315831"], ["updated_at", "2016-03-10 23:33:27.315831"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (1.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:27.330245"], ["updated_at", "2016-03-10 23:33:27.330245"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "4dzPBJgoEV96v7vuU59b"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$K/7pRjHIZQ/LoAuxB4Dme.dZiGxEKt1T6MIDNKSK2/JqThC.QLOHu"], ["confirmed_at", "2016-03-10 23:33:27.345274"], ["authentication_token", "4dzPBJgoEV96v7vuU59b"], ["created_at", "2016-03-10 23:33:27.348559"], ["updated_at", "2016-03-10 23:33:27.348559"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 2], ["created_at", "2016-03-10 23:33:27.363195"], ["updated_at", "2016-03-10 23:33:27.363195"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:33:27.377138"], ["updated_at", "2016-03-10 23:33:27.377138"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:33:27.389306"], ["updated_at", "2016-03-10 23:33:27.389306"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:33:27.401338"], ["updated_at", "2016-03-10 23:33:27.401338"]] [1m[35m (11.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test7@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:33:27.442191"], ["current_sign_in_at", "2016-03-10 23:33:27.442191"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:27.443101"], ["id", 2]] [1m[35m (9.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (51.0ms) Completed 500 Internal Server Error in 58ms (ActiveRecord: 0.4ms) [1m[36m (8.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "2m4Qdyepg96_GsKbxJtG"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$xoaKw6CMDbB50HGmUKN6Fuak0ubPZ486jCc1aXjNZo0MIy2tCeubq"], ["confirmed_at", "2016-03-10 23:33:27.631119"], ["authentication_token", "2m4Qdyepg96_GsKbxJtG"], ["created_at", "2016-03-10 23:33:27.633887"], ["updated_at", "2016-03-10 23:33:27.633887"]] [1m[36m (7.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:27.646454"], ["updated_at", "2016-03-10 23:33:27.646454"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:27.657833"], ["updated_at", "2016-03-10 23:33:27.657833"]] [1m[35m (11.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (56.3ms) Completed 500 Internal Server Error in 64ms (ActiveRecord: 0.2ms) [1m[36m (8.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "RewCXzz25WxFByochsGB"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$gBRRfXnG5zIUjhsuCmtkKuk/yFyQWhKDP9UqePPkzCsvtDUdGZZ9q"], ["confirmed_at", "2016-03-10 23:33:27.826570"], ["authentication_token", "RewCXzz25WxFByochsGB"], ["created_at", "2016-03-10 23:33:27.829901"], ["updated_at", "2016-03-10 23:33:27.829901"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:27.845702"], ["updated_at", "2016-03-10 23:33:27.845702"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:27.860139"], ["updated_at", "2016-03-10 23:33:27.860139"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "E2nMpDH9L9YoJ4DoxC89"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$eEVIEZ6gN/EL4K1eb41ZfehOOvHqkkTKMp2rXtAD3aqQiwOgu2jT."], ["confirmed_at", "2016-03-10 23:33:27.872799"], ["authentication_token", "E2nMpDH9L9YoJ4DoxC89"], ["created_at", "2016-03-10 23:33:27.875748"], ["updated_at", "2016-03-10 23:33:27.875748"]] [1m[36m (12.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 2], ["created_at", "2016-03-10 23:33:27.896928"], ["updated_at", "2016-03-10 23:33:27.896928"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:33:27.914224"], ["updated_at", "2016-03-10 23:33:27.914224"]] [1m[35m (10.9ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:27 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (14.2ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (17.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (54.3ms) Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.1ms) [1m[36m (14.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (14.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "x5igPJD1EBgP6TXv94pC"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$o/oi3kNNdiq2Mi7IR03ZyOjpe8gG61ArbZPvHMkjWaYX9zBU2R6PS"], ["confirmed_at", "2016-03-10 23:33:28.108085"], ["authentication_token", "x5igPJD1EBgP6TXv94pC"], ["created_at", "2016-03-10 23:33:28.111359"], ["updated_at", "2016-03-10 23:33:28.111359"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:28.128892"], ["updated_at", "2016-03-10 23:33:28.128892"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:28.147358"], ["updated_at", "2016-03-10 23:33:28.147358"]] [1m[35m (10.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:33:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test9"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test9"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (74.5ms) Completed 500 Internal Server Error in 87ms (ActiveRecord: 0.3ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "69vbyr8buHyGczicq3Hs"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$R5wEkSpGQJnMLhcq98XFl.OpPVvWLkUBBvVCWWc0FpZfInr81KUay"], ["confirmed_at", "2016-03-10 23:33:28.336711"], ["authentication_token", "69vbyr8buHyGczicq3Hs"], ["created_at", "2016-03-10 23:33:28.340895"], ["updated_at", "2016-03-10 23:33:28.340895"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:28.357125"], ["updated_at", "2016-03-10 23:33:28.357125"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:28.370664"], ["updated_at", "2016-03-10 23:33:28.370664"]] [1m[35m (7.9ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:33:28 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (50.0ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.1ms) [1m[36m (9.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (13.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (18.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "orx4d5P8We5nJzmRVkBt"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test14@example.com"], ["encrypted_password", "$2a$04$Uk2eafriYQiub3AqZl59c.JZ8PT9yh0D2yMvLhaTI81Kl39YpdMtu"], ["confirmed_at", "2016-03-10 23:33:28.692971"], ["authentication_token", "orx4d5P8We5nJzmRVkBt"], ["created_at", "2016-03-10 23:33:28.697650"], ["updated_at", "2016-03-10 23:33:28.697650"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:28.716695"], ["updated_at", "2016-03-10 23:33:28.716695"]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:28.736636"], ["updated_at", "2016-03-10 23:33:28.736636"]] [1m[35m (15.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:28 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:28 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test14@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:33:28.792303"], ["current_sign_in_at", "2016-03-10 23:33:28.792303"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:28.793619"], ["id", 1]] [1m[35m (10.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 11.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:28 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (58.9ms) Completed 500 Internal Server Error in 67ms (ActiveRecord: 0.6ms) [1m[36m (12.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (3.0ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "KGA1DiXFQeGD-xeivrL9"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$RqCSE84/S3vexv6VYIeC0O2XllxQ6vx1JApSt3wAwhmqaA11Tb9AG"], ["confirmed_at", "2016-03-10 23:33:28.960992"], ["authentication_token", "KGA1DiXFQeGD-xeivrL9"], ["created_at", "2016-03-10 23:33:28.968274"], ["updated_at", "2016-03-10 23:33:28.968274"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:28.989945"], ["updated_at", "2016-03-10 23:33:28.989945"]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:29.008041"], ["updated_at", "2016-03-10 23:33:29.008041"]] [1m[35m (16.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test16@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:33:29.062009"], ["current_sign_in_at", "2016-03-10 23:33:29.062009"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:29.063583"], ["id", 1]] [1m[35m (11.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 12.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (62.6ms) Completed 500 Internal Server Error in 72ms (ActiveRecord: 0.7ms) [1m[36m (13.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (1.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (13.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "y7qnwdgCCxfC39epFnXT"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$YLUu9J4hESL6cXzwJwLpr.troOVALohSeMUBNCgKloTfenPL5pKOO"], ["confirmed_at", "2016-03-10 23:33:29.246552"], ["authentication_token", "y7qnwdgCCxfC39epFnXT"], ["created_at", "2016-03-10 23:33:29.250255"], ["updated_at", "2016-03-10 23:33:29.250255"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (1.6ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:29.272480"], ["updated_at", "2016-03-10 23:33:29.272480"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:29.289682"], ["updated_at", "2016-03-10 23:33:29.289682"]] [1m[35m (10.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test18@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:33:29.331402"], ["current_sign_in_at", "2016-03-10 23:33:29.331402"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:29.332555"], ["id", 1]] [1m[35m (11.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (68.7ms) Completed 500 Internal Server Error in 78ms (ActiveRecord: 0.5ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (14.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "_aTsDXwU2ZV1DRP-9EKH"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$N1PqafBKHsWV/bHIdfnfqePmRLKqZMzLxrk8CMD39aEWqDTHv7MHG"], ["confirmed_at", "2016-03-10 23:33:29.516407"], ["authentication_token", "_aTsDXwU2ZV1DRP-9EKH"], ["created_at", "2016-03-10 23:33:29.521033"], ["updated_at", "2016-03-10 23:33:29.521033"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:29.546020"], ["updated_at", "2016-03-10 23:33:29.546020"]] [1m[36m (12.5ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:29.566834"], ["updated_at", "2016-03-10 23:33:29.566834"]] [1m[35m (11.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (7.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test20@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:33:29.643724"], ["current_sign_in_at", "2016-03-10 23:33:29.643724"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:29.645278"], ["id", 1]] [1m[35m (14.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 32ms (ActiveRecord: 15.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (66.1ms) Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.4ms) [1m[36m (11.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (12.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (14.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (18.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 34ms (Views: 32.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:33:29 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (2.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (21.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 43ms (Views: 39.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:33:30 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "tyR2ssf25sXyH4UqZddx"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "dbeb23c6ae4bfe899a9645345afac034817320c22de651da29f5edd5808a556b"]] [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$s/GUJyWly3r470I0uJZmKeihhV0.F.cBa1lZliiO5bTm6AExVV1/W"], ["authentication_token", "tyR2ssf25sXyH4UqZddx"], ["created_at", "2016-03-10 23:33:30.025916"], ["updated_at", "2016-03-10 23:33:30.025916"], ["confirmation_token", "jHZ7a3uErQiHEkDzFAJQ"], ["confirmation_sent_at", "2016-03-10 23:33:30.027346"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (5.1ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 7.9ms Sent mail to mtdevise@example.com (3.6ms) Date: Thu, 10 Mar 2016 23:33:30 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e2044a9e61_81b10d70f457670@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-10 23:33:30.043683"], ["updated_at", "2016-03-10 23:33:30.043683"]] [1m[35m (16.4ms)[0m commit transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:33:30.066594"], ["updated_at", "2016-03-10 23:33:30.066594"]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (2.2ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-10 23:33:30.080282"], ["updated_at", "2016-03-10 23:33:30.081504"], ["id", 1]] [1m[35m (9.6ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:33:30.103862"], ["current_sign_in_at", "2016-03-10 23:33:30.103862"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:33:30.104825"], ["id", 1]] [1m[35m (9.6ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 111ms (ActiveRecord: 50.3ms) Started GET "/" for 127.0.0.1 at 2016-03-10 23:33:30 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (1.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (2.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (61.6ms) Completed 500 Internal Server Error in 90ms (ActiveRecord: 0.5ms) [1m[35m (11.8ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (17.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:33:30 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:33:30 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:33:30 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:00.262604"], ["updated_at", "2016-03-10 23:35:00.262604"]] [1m[36m (18.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:00.347345"], ["updated_at", "2016-03-10 23:35:00.347345"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-10 23:35:00.360069"], ["updated_at", "2016-03-10 23:35:00.360646"], ["id", 1]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (9.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (14.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (8.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "LRuGzuGC1BbtpLZNuSEN"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$Vdqij5h2CvcheL5XtSGh..I7mx1bE41sBefqja.USiuglDQVv9IKu"], ["confirmed_at", "2016-03-10 23:35:00.492913"], ["authentication_token", "LRuGzuGC1BbtpLZNuSEN"], ["created_at", "2016-03-10 23:35:00.495915"], ["updated_at", "2016-03-10 23:35:00.495915"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:00 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (238.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.7ms) Completed 200 OK in 588ms (Views: 556.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-10 23:35:01.151204"], ["current_sign_in_at", "2016-03-10 23:35:01.151204"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:01.152554"], ["id", 1]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 47ms (ActiveRecord: 13.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (10.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (43.6ms) Completed 500 Internal Server Error in 80ms (ActiveRecord: 0.9ms) [1m[35m (12.8ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (44.5ms) Completed 500 Internal Server Error in 58ms (ActiveRecord: 0.0ms) [1m[35m (12.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (12.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.0ms) [1m[35m (12.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) [1m[35m (9.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.9ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (6.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "szGbRAynMyqRS49SzeGo"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$4PpATm4B8UEcMlxBELgBdehl.h/yijfU6h4p.efXWign7j/R8wRd6"], ["confirmed_at", "2016-03-10 23:35:01.644029"], ["authentication_token", "szGbRAynMyqRS49SzeGo"], ["created_at", "2016-03-10 23:35:01.647062"], ["updated_at", "2016-03-10 23:35:01.647062"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:01.662242"], ["updated_at", "2016-03-10 23:35:01.662242"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:01.674014"], ["updated_at", "2016-03-10 23:35:01.674014"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-10 23:35:01.706032"], ["current_sign_in_at", "2016-03-10 23:35:01.706032"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:01.706911"], ["id", 1]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 17ms (ActiveRecord: 10.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (42.1ms) Completed 500 Internal Server Error in 47ms (ActiveRecord: 0.3ms) [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "XtJJu3b4zz4CKqLv3LS7"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$dwHhR.jMGDFxjEij.rVDhONxAeuFN97AKrA9Z2OBTMWKjX1j63N7C"], ["confirmed_at", "2016-03-10 23:35:01.839954"], ["authentication_token", "XtJJu3b4zz4CKqLv3LS7"], ["created_at", "2016-03-10 23:35:01.843387"], ["updated_at", "2016-03-10 23:35:01.843387"]] [1m[35m (12.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:01.864024"], ["updated_at", "2016-03-10 23:35:01.864024"]] [1m[35m (11.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:01.880503"], ["updated_at", "2016-03-10 23:35:01.880503"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:01 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (122.9ms) Completed 500 Internal Server Error in 131ms (ActiveRecord: 0.0ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (14.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "czVSrv_8reReNQn_Z-iq"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$8rlqKmUf0j2ZuU5ih9YhI.jw9L9EaF.4q.nHdqnlY3KyOn21sZ..a"], ["confirmed_at", "2016-03-10 23:35:02.173329"], ["authentication_token", "czVSrv_8reReNQn_Z-iq"], ["created_at", "2016-03-10 23:35:02.178053"], ["updated_at", "2016-03-10 23:35:02.178053"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:02.195744"], ["updated_at", "2016-03-10 23:35:02.195744"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:02.211111"], ["updated_at", "2016-03-10 23:35:02.211111"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "zRzJ-xyurLX7dtBFtGSG"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$dhGIOlCj/k0SBN/19XWdw.q05uQy9W47228AmxXh7yhy9bzSxVXlO"], ["confirmed_at", "2016-03-10 23:35:02.226397"], ["authentication_token", "zRzJ-xyurLX7dtBFtGSG"], ["created_at", "2016-03-10 23:35:02.230030"], ["updated_at", "2016-03-10 23:35:02.230030"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 2], ["created_at", "2016-03-10 23:35:02.245887"], ["updated_at", "2016-03-10 23:35:02.245887"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:35:02.257429"], ["updated_at", "2016-03-10 23:35:02.257429"]] [1m[35m (8.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:35:02.279325"], ["updated_at", "2016-03-10 23:35:02.279325"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:35:02.293556"], ["updated_at", "2016-03-10 23:35:02.293556"]] [1m[35m (7.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test4@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:02.337992"], ["current_sign_in_at", "2016-03-10 23:35:02.337992"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:02.339442"], ["id", 1]] [1m[35m (14.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 28ms (ActiveRecord: 15.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (60.1ms) Completed 500 Internal Server Error in 70ms (ActiveRecord: 0.5ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "jtDxwV-ssjXMz8WQigpr"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$xYKBozUZiJC2OkbC.OvZrOMVyA19rXRM2pYE8XLCyRWg3xyYqT3O6"], ["confirmed_at", "2016-03-10 23:35:02.519890"], ["authentication_token", "jtDxwV-ssjXMz8WQigpr"], ["created_at", "2016-03-10 23:35:02.523955"], ["updated_at", "2016-03-10 23:35:02.523955"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:02.541238"], ["updated_at", "2016-03-10 23:35:02.541238"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:02.554132"], ["updated_at", "2016-03-10 23:35:02.554132"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "r7-VNs9GN6ZrJdMyuZib"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$1zsGJu2mR2tdI5sGUhJ3auNPvNJTHY4WsOjtNnEuNhbPbCzdr0E.S"], ["confirmed_at", "2016-03-10 23:35:02.568814"], ["authentication_token", "r7-VNs9GN6ZrJdMyuZib"], ["created_at", "2016-03-10 23:35:02.572221"], ["updated_at", "2016-03-10 23:35:02.572221"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 2], ["created_at", "2016-03-10 23:35:02.590014"], ["updated_at", "2016-03-10 23:35:02.590014"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:35:02.605147"], ["updated_at", "2016-03-10 23:35:02.605147"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:35:02.619349"], ["updated_at", "2016-03-10 23:35:02.619349"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:35:02.631898"], ["updated_at", "2016-03-10 23:35:02.631898"]] [1m[35m (9.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test8@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:02.669009"], ["current_sign_in_at", "2016-03-10 23:35:02.669009"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:02.670008"], ["id", 2]] [1m[35m (10.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 11.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (45.0ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.5ms) [1m[36m (9.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "bxHArKtyCtzkswp-Jmxy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$NBe81JXajygyzZYog6ZAMubVp8mldJKPt/RRqfWyPFFviaqNfEYbO"], ["confirmed_at", "2016-03-10 23:35:02.851674"], ["authentication_token", "bxHArKtyCtzkswp-Jmxy"], ["created_at", "2016-03-10 23:35:02.854987"], ["updated_at", "2016-03-10 23:35:02.854987"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:02.873331"], ["updated_at", "2016-03-10 23:35:02.873331"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:02.885845"], ["updated_at", "2016-03-10 23:35:02.885845"]] [1m[35m (8.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test10@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:02.921619"], ["current_sign_in_at", "2016-03-10 23:35:02.921619"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:02.922692"], ["id", 1]] [1m[35m (10.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 11.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (42.1ms) Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.4ms) [1m[36m (10.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ixYz74Vdw7Jwm8EdQ7X8"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$9ELp4fVxF/3gZsQQVpkGqOPlre6IxdCzTmPxuaF190JbP9M6yAujm"], ["confirmed_at", "2016-03-10 23:35:03.059260"], ["authentication_token", "ixYz74Vdw7Jwm8EdQ7X8"], ["created_at", "2016-03-10 23:35:03.063519"], ["updated_at", "2016-03-10 23:35:03.063519"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:03.080463"], ["updated_at", "2016-03-10 23:35:03.080463"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:03.094231"], ["updated_at", "2016-03-10 23:35:03.094231"]] [1m[35m (7.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test12@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:03.127981"], ["current_sign_in_at", "2016-03-10 23:35:03.127981"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:03.128833"], ["id", 1]] [1m[35m (7.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 17ms (ActiveRecord: 8.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (40.1ms) Completed 500 Internal Server Error in 48ms (ActiveRecord: 0.5ms) [1m[36m (10.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Mhzt_85N4aRRyWXxqyL5"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test14@example.com"], ["encrypted_password", "$2a$04$5YmmQeAn.fz8mpufeQeefeAbKOgoM4iVXELYNm047a91hCqBTBJY6"], ["confirmed_at", "2016-03-10 23:35:03.258504"], ["authentication_token", "Mhzt_85N4aRRyWXxqyL5"], ["created_at", "2016-03-10 23:35:03.261609"], ["updated_at", "2016-03-10 23:35:03.261609"]] [1m[36m (8.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:03.275359"], ["updated_at", "2016-03-10 23:35:03.275359"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:03.289862"], ["updated_at", "2016-03-10 23:35:03.289862"]] [1m[35m (10.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test14@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:03.329852"], ["current_sign_in_at", "2016-03-10 23:35:03.329852"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:03.330808"], ["id", 1]] [1m[35m (9.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (45.8ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.5ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "NFNpQF5TfBJJW9xs_KFN"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$HlEJumuG5laMn6IiCmuHX.WDK64cKeGPCknNwm7VODLuZlb4OvNfG"], ["confirmed_at", "2016-03-10 23:35:03.467510"], ["authentication_token", "NFNpQF5TfBJJW9xs_KFN"], ["created_at", "2016-03-10 23:35:03.472355"], ["updated_at", "2016-03-10 23:35:03.472355"]] [1m[36m (16.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:03.495918"], ["updated_at", "2016-03-10 23:35:03.495918"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:03.509627"], ["updated_at", "2016-03-10 23:35:03.509627"]] [1m[35m (9.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test16@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:03.545085"], ["current_sign_in_at", "2016-03-10 23:35:03.545085"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:03.545939"], ["id", 1]] [1m[35m (10.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (60.0ms) Completed 500 Internal Server Error in 68ms (ActiveRecord: 0.4ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "sazSyiF2vbJ7zLx5RWBW"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$p/VjutE5Qc1.ap9MgfBgvOzVnt0AEeq96wJBeXT2OZ.vqfY3B9Yuq"], ["confirmed_at", "2016-03-10 23:35:03.751130"], ["authentication_token", "sazSyiF2vbJ7zLx5RWBW"], ["created_at", "2016-03-10 23:35:03.753968"], ["updated_at", "2016-03-10 23:35:03.753968"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:03.770488"], ["updated_at", "2016-03-10 23:35:03.770488"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:03.782319"], ["updated_at", "2016-03-10 23:35:03.782319"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "JrdYJvJZ4M3dafnuQWUq"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$906tH6GVBr6nHk6QhtgwJ.2vfgt/nR2Ipm0dk/OJWPLI8S3BYmDla"], ["confirmed_at", "2016-03-10 23:35:03.796241"], ["authentication_token", "JrdYJvJZ4M3dafnuQWUq"], ["created_at", "2016-03-10 23:35:03.799074"], ["updated_at", "2016-03-10 23:35:03.799074"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 2], ["created_at", "2016-03-10 23:35:03.814389"], ["updated_at", "2016-03-10 23:35:03.814389"]] [1m[36m (7.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:35:03.826912"], ["updated_at", "2016-03-10 23:35:03.826912"]] [1m[35m (10.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test11"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test11"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:03 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test11"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test11"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (58.1ms) Completed 500 Internal Server Error in 67ms (ActiveRecord: 0.2ms) [1m[36m (11.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "5muJz6EP4E_VNJniQa-E"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$p45Ug2C0O6rvh64F/t2klubS2rtb0NYTKrlTe5T/Y1tgzaNGp2jYS"], ["confirmed_at", "2016-03-10 23:35:03.994423"], ["authentication_token", "5muJz6EP4E_VNJniQa-E"], ["created_at", "2016-03-10 23:35:03.998299"], ["updated_at", "2016-03-10 23:35:03.998299"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:04.014363"], ["updated_at", "2016-03-10 23:35:04.014363"]] [1m[36m (7.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:04.025510"], ["updated_at", "2016-03-10 23:35:04.025510"]] [1m[35m (11.5ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (68.6ms) Completed 500 Internal Server Error in 78ms (ActiveRecord: 0.2ms) [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ZEYm_RBJsWAX_JyAMb2K"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$WJs132T5l5QR8Q5nietCNeJQR.UXRbxuHoeeL7PyuO3vrMpZ9f4cy"], ["confirmed_at", "2016-03-10 23:35:04.202021"], ["authentication_token", "ZEYm_RBJsWAX_JyAMb2K"], ["created_at", "2016-03-10 23:35:04.205675"], ["updated_at", "2016-03-10 23:35:04.205675"]] [1m[36m (7.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:04.219940"], ["updated_at", "2016-03-10 23:35:04.219940"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:04.234463"], ["updated_at", "2016-03-10 23:35:04.234463"]] [1m[35m (9.5ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (70.1ms) Completed 500 Internal Server Error in 82ms (ActiveRecord: 0.2ms) [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ombDr26MWdWCqzJgmaAB"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$BGs05uUIwNn86NHRbTkQquSL/POwTLKDZxufAA5NdSC5ivQ6DZAk."], ["confirmed_at", "2016-03-10 23:35:04.410250"], ["authentication_token", "ombDr26MWdWCqzJgmaAB"], ["created_at", "2016-03-10 23:35:04.413617"], ["updated_at", "2016-03-10 23:35:04.413617"]] [1m[36m (7.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:04.428426"], ["updated_at", "2016-03-10 23:35:04.428426"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m [1m[35m (0.4ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:04.446540"], ["updated_at", "2016-03-10 23:35:04.446540"]] [1m[35m (9.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test15"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test15"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (67.9ms) Completed 500 Internal Server Error in 79ms (ActiveRecord: 0.1ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (45.5ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.0ms) [1m[36m (10.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Fw4asg92zT_vfHb-JDvn"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$xF.eapMhIWv5fAbrPd8I5u6v7WrLF/KSFB0RYLat3EtYsoHMTQJj6"], ["confirmed_at", "2016-03-10 23:35:04.860204"], ["authentication_token", "Fw4asg92zT_vfHb-JDvn"], ["created_at", "2016-03-10 23:35:04.863191"], ["updated_at", "2016-03-10 23:35:04.863191"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:04.881716"], ["updated_at", "2016-03-10 23:35:04.881716"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:04.896898"], ["updated_at", "2016-03-10 23:35:04.896898"]] [1m[35m (10.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test23@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:04.936125"], ["current_sign_in_at", "2016-03-10 23:35:04.936125"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:04.937184"], ["id", 1]] [1m[35m (8.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 8.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:04 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (42.7ms) Completed 500 Internal Server Error in 50ms (ActiveRecord: 0.4ms) [1m[36m (12.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:05 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:35:05 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:35:05 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:05.787913"], ["updated_at", "2016-03-10 23:35:05.787913"]] [1m[35m (13.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:05.806980"], ["updated_at", "2016-03-10 23:35:05.806980"]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-10 23:35:05.820563"], ["updated_at", "2016-03-10 23:35:05.821182"], ["id", 1]] [1m[35m (11.4ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:05.840294"], ["current_sign_in_at", "2016-03-10 23:35:05.840294"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:05.841262"], ["id", 1]] [1m[35m (10.7ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 92ms (ActiveRecord: 49.9ms) Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:05 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (35.8ms) Completed 500 Internal Server Error in 51ms (ActiveRecord: 0.3ms) [1m[35m (11.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:05 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (47.4ms) Completed 500 Internal Server Error in 70ms (ActiveRecord: 1.7ms) [1m[35m (11.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "KCHQWzBKSyRTeg8qXx8t"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test25@example.com"], ["encrypted_password", "$2a$04$Ev7m2/EnkvRPYGDTrh5eKOLehx71aJjYqKc6QHqAwpu/cSliTx8NO"], ["confirmed_at", "2016-03-10 23:35:06.138294"], ["authentication_token", "KCHQWzBKSyRTeg8qXx8t"], ["created_at", "2016-03-10 23:35:06.141617"], ["updated_at", "2016-03-10 23:35:06.141617"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-10 23:35:06.155153"], ["updated_at", "2016-03-10 23:35:06.155153"]] [1m[35m (10.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:35:06.169006"], ["updated_at", "2016-03-10 23:35:06.169006"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test25@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.3ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (8.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (48.1ms) Completed 500 Internal Server Error in 81ms (ActiveRecord: 2.4ms) [1m[35m (11.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "vVgRzCs8cyx3-gtPjszV"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$csbQqrZVvjWQyJ1/vS9fUeW3bB.O8VUm.CKqTRWjCg5UbuyouFPqq"], ["confirmed_at", "2016-03-10 23:35:06.363360"], ["authentication_token", "vVgRzCs8cyx3-gtPjszV"], ["created_at", "2016-03-10 23:35:06.366583"], ["updated_at", "2016-03-10 23:35:06.366583"]] [1m[35m (9.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:35:06.400694"], ["current_sign_in_at", "2016-03-10 23:35:06.400694"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:35:06.401600"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 10.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:35:06 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (41.3ms) Completed 500 Internal Server Error in 47ms (ActiveRecord: 0.3ms) [1m[36m (12.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (15.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "aoXwPVDs7_-Di37RVeEZ"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$ax7vj.50r5ehMR7oajACvehFlVDkvEfrdmI6DQlARM50wxm42hy/2"], ["confirmed_at", "2016-03-10 23:36:44.799985"], ["authentication_token", "aoXwPVDs7_-Di37RVeEZ"], ["created_at", "2016-03-10 23:36:44.886680"], ["updated_at", "2016-03-10 23:36:44.886680"]] [1m[35m (24.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:44.940700"], ["updated_at", "2016-03-10 23:36:44.940700"]] [1m[35m (21.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:45.056418"], ["updated_at", "2016-03-10 23:36:45.056418"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "QNxcpSP6nfdGHYTNLHb2"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test2@example.com"], ["encrypted_password", "$2a$04$b3vrkvFdoVw2p/itApE4V.Anpx3FsRIo./fwnRms1S1PqzDPZE7mC"], ["confirmed_at", "2016-03-10 23:36:45.073932"], ["authentication_token", "QNxcpSP6nfdGHYTNLHb2"], ["created_at", "2016-03-10 23:36:45.076918"], ["updated_at", "2016-03-10 23:36:45.076918"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 2], ["created_at", "2016-03-10 23:36:45.091538"], ["updated_at", "2016-03-10 23:36:45.091538"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:36:45.105646"], ["updated_at", "2016-03-10 23:36:45.105646"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.5ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (4.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] Completed 401 Unauthorized in 29ms (ActiveRecord: 4.5ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (204.2ms) Completed 500 Internal Server Error in 248ms (ActiveRecord: 0.2ms) [1m[35m (14.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "PQdnzC3qkJfrJ5F2uzQ9"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$iD/ndJHcbygpiSkyUwV0Oe1K/yVS863Wv6QIIiEOlM9lIYNZK0NZi"], ["confirmed_at", "2016-03-10 23:36:45.538336"], ["authentication_token", "PQdnzC3qkJfrJ5F2uzQ9"], ["created_at", "2016-03-10 23:36:45.541796"], ["updated_at", "2016-03-10 23:36:45.541796"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:45.559917"], ["updated_at", "2016-03-10 23:36:45.559917"]] [1m[35m (11.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:45.577777"], ["updated_at", "2016-03-10 23:36:45.577777"]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.9ms) Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms) [1m[35m (13.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Dyknan1Ji-xVABy7mHRh"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@example.com"], ["encrypted_password", "$2a$04$sALHxvhDnQAoLbuh9G6L5O2uP3TW89OxyxqmbT/VaBzNVMu4QPTnq"], ["confirmed_at", "2016-03-10 23:36:45.692090"], ["authentication_token", "Dyknan1Ji-xVABy7mHRh"], ["created_at", "2016-03-10 23:36:45.696074"], ["updated_at", "2016-03-10 23:36:45.696074"]] [1m[35m (10.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:45.712885"], ["updated_at", "2016-03-10 23:36:45.712885"]] [1m[35m (13.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:45.730871"], ["updated_at", "2016-03-10 23:36:45.730871"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.2ms) [1m[35m (12.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "sfMyWaoHWFcgoS7Qy-Qc"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$M7F7o9YGOEviqJ2/RS7iUeIEwv0kEO24EVtsB8dvSgmZLWHOfWgTi"], ["confirmed_at", "2016-03-10 23:36:45.838772"], ["authentication_token", "sfMyWaoHWFcgoS7Qy-Qc"], ["created_at", "2016-03-10 23:36:45.842107"], ["updated_at", "2016-03-10 23:36:45.842107"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:45.858994"], ["updated_at", "2016-03-10 23:36:45.858994"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:45.874615"], ["updated_at", "2016-03-10 23:36:45.874615"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test5"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:45 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test5"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.1ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (13.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Tod5gcSZf1VK6kbSRs-7"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "d83997e87839e2dbccb92edb8773ad84763386f6759e7a842bcb3ac090c27abe"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "user@example.com"], ["encrypted_password", "$2a$04$/sdxC6N8ive.UkM97UGIJ.YvtKzaSnelbIXikK7yls59C361neY3i"], ["authentication_token", "Tod5gcSZf1VK6kbSRs-7"], ["created_at", "2016-03-10 23:36:46.041233"], ["updated_at", "2016-03-10 23:36:46.041233"], ["confirmation_token", "GmEuk-TdzxryLxYmxGdq"], ["confirmation_sent_at", "2016-03-10 23:36:46.288365"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (4.3ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 469.4ms Sent mail to user@example.com (30.0ms) Date: Thu, 10 Mar 2016 23:36:46 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e2050ec54a6_85697b0f8676cc@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:46.820555"], ["updated_at", "2016-03-10 23:36:46.820555"]] [1m[36m (28.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:46.855218"], ["updated_at", "2016-03-10 23:36:46.855218"]] [1m[35m (12.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-10 23:36:46.870466"], ["updated_at", "2016-03-10 23:36:46.871461"], ["id", 1]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (9.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "sgz1fs_bFkY5jo5-yYZs"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$u7uIhHtk1UzsZ8nOtdX9T.JrRdL.8QN2x33koxGG6m264kKJpmT0m"], ["confirmed_at", "2016-03-10 23:36:47.010770"], ["authentication_token", "sgz1fs_bFkY5jo5-yYZs"], ["created_at", "2016-03-10 23:36:47.013952"], ["updated_at", "2016-03-10 23:36:47.013952"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:47.031102"], ["updated_at", "2016-03-10 23:36:47.031102"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:47.047108"], ["updated_at", "2016-03-10 23:36:47.047108"]] [1m[35m (10.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:47 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) [1m[36m (12.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (14.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "_naNPVUx_R5KTdB3zjyL"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$14c7d/Ws0YSZeY6UcD/epO4z83I48zHHTHjRrEtvt95gNpED.U2C."], ["confirmed_at", "2016-03-10 23:36:47.160168"], ["authentication_token", "_naNPVUx_R5KTdB3zjyL"], ["created_at", "2016-03-10 23:36:47.164476"], ["updated_at", "2016-03-10 23:36:47.164476"]] [1m[36m (12.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:47.185280"], ["updated_at", "2016-03-10 23:36:47.185280"]] [1m[36m (13.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:47.204050"], ["updated_at", "2016-03-10 23:36:47.204050"]] [1m[35m (11.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:47 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[36m (13.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "cQsSfwFg91iSAoyroxLq"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$or7exi1nZpLW6o0ImdjMJ.72IyoFBSQ1aXs7w.EU60xroU8ZRv5C2"], ["confirmed_at", "2016-03-10 23:36:47.320083"], ["authentication_token", "cQsSfwFg91iSAoyroxLq"], ["created_at", "2016-03-10 23:36:47.324720"], ["updated_at", "2016-03-10 23:36:47.324720"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:47.342030"], ["updated_at", "2016-03-10 23:36:47.342030"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:47.358030"], ["updated_at", "2016-03-10 23:36:47.358030"]] [1m[35m (11.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:47 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.1ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "MG-LAjusbkHEtjCphKyZ"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$rqka7zhhFvoz0XWgJAxAO.ie46alEPF74X8y5.kRQv7ZBT/vBlLwi"], ["confirmed_at", "2016-03-10 23:36:47.459964"], ["authentication_token", "MG-LAjusbkHEtjCphKyZ"], ["created_at", "2016-03-10 23:36:47.463460"], ["updated_at", "2016-03-10 23:36:47.463460"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:47.478921"], ["updated_at", "2016-03-10 23:36:47.478921"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:47.494891"], ["updated_at", "2016-03-10 23:36:47.494891"]] [1m[35m (10.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:47 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Fr4CyxqHntz5MjhMy83n"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$01Jrd3lTcnyZhTE85E1eo.SdQgKuYEwVdOcKXohpCaIP73XTb8woi"], ["confirmed_at", "2016-03-10 23:36:47.645262"], ["authentication_token", "Fr4CyxqHntz5MjhMy83n"], ["created_at", "2016-03-10 23:36:47.648096"], ["updated_at", "2016-03-10 23:36:47.648096"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:47 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (12.2ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:47 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:47 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.3ms) Completed 500 Internal Server Error in 386ms (ActiveRecord: 0.0ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:48 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) [1m[35m (15.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (15.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:48 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.7ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (12.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "jxC4jx7o5o-KhKk2os4t"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$igve0uHQ/.QIVlgI1Qvd7u/4hCr59bi6qLrIjKVjykcMr76RMpE7a"], ["confirmed_at", "2016-03-10 23:36:48.374732"], ["authentication_token", "jxC4jx7o5o-KhKk2os4t"], ["created_at", "2016-03-10 23:36:48.378351"], ["updated_at", "2016-03-10 23:36:48.378351"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:48.396717"], ["updated_at", "2016-03-10 23:36:48.396717"]] [1m[35m (11.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:48.413492"], ["updated_at", "2016-03-10 23:36:48.413492"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.3ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Rg5d8TYci9UKbkPwZCKJ"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test15@example.com"], ["encrypted_password", "$2a$04$sRubwRAuyBX9VgHJBSunTugHqvMMWFih3/JH4a.r1uVTxHtcIev2."], ["confirmed_at", "2016-03-10 23:36:48.430050"], ["authentication_token", "Rg5d8TYci9UKbkPwZCKJ"], ["created_at", "2016-03-10 23:36:48.434205"], ["updated_at", "2016-03-10 23:36:48.434205"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 2], ["created_at", "2016-03-10 23:36:48.453127"], ["updated_at", "2016-03-10 23:36:48.453127"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:36:48.469442"], ["updated_at", "2016-03-10 23:36:48.469442"]] [1m[36m (8.5ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:36:48.487999"], ["updated_at", "2016-03-10 23:36:48.487999"]] [1m[35m (14.2ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:36:48.505674"], ["updated_at", "2016-03-10 23:36:48.505674"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (1.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "pGRNetkRszArvyyKvu3M"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test17@example.com"], ["encrypted_password", "$2a$04$HodxuB/aCaJrGjWYXT8xSuRpU.OcG9G33A5I5emfoZ/vHqKQQ7Uni"], ["confirmed_at", "2016-03-10 23:36:48.618643"], ["authentication_token", "pGRNetkRszArvyyKvu3M"], ["created_at", "2016-03-10 23:36:48.623189"], ["updated_at", "2016-03-10 23:36:48.623189"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:48.639690"], ["updated_at", "2016-03-10 23:36:48.639690"]] [1m[35m (10.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:48.653868"], ["updated_at", "2016-03-10 23:36:48.653868"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "6J47SuYWDZVdxPXdJdFD"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test18@example.com"], ["encrypted_password", "$2a$04$81vuE71KdU9g.h3bTZEYluN5Z62nmkNmAxqljit9a3qb.2KXgxJVa"], ["confirmed_at", "2016-03-10 23:36:48.668797"], ["authentication_token", "6J47SuYWDZVdxPXdJdFD"], ["created_at", "2016-03-10 23:36:48.672032"], ["updated_at", "2016-03-10 23:36:48.672032"]] [1m[35m (12.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 2], ["created_at", "2016-03-10 23:36:48.692120"], ["updated_at", "2016-03-10 23:36:48.692120"]] [1m[35m (12.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:36:48.710704"], ["updated_at", "2016-03-10 23:36:48.710704"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:36:48.724824"], ["updated_at", "2016-03-10 23:36:48.724824"]] [1m[35m (12.5ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:36:48.740017"], ["updated_at", "2016-03-10 23:36:48.740017"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "WMwBoW248zSPbffWPgaa"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$Uub4P5YBih9dZAdIjUvre.6PrOv.8L8bBKbVmWOxfvEC4oC83BF7S"], ["confirmed_at", "2016-03-10 23:36:48.906931"], ["authentication_token", "WMwBoW248zSPbffWPgaa"], ["created_at", "2016-03-10 23:36:48.909859"], ["updated_at", "2016-03-10 23:36:48.909859"]] [1m[35m (10.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (12.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) [1m[36m (11.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) [1m[36m (14.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[36m (13.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "7qHrQ_v4bTYR2yZPbmhx"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$kH3KrgvmBtbi2269WLucseZ/sc3Pf0mII.I1d35ApclxcRniMwJz2"], ["confirmed_at", "2016-03-10 23:36:49.200428"], ["authentication_token", "7qHrQ_v4bTYR2yZPbmhx"], ["created_at", "2016-03-10 23:36:49.203153"], ["updated_at", "2016-03-10 23:36:49.203153"]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:49.219831"], ["updated_at", "2016-03-10 23:36:49.219831"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:49.235090"], ["updated_at", "2016-03-10 23:36:49.235090"]] [1m[35m (10.3ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (11.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-10 23:36:49.339881"], ["updated_at", "2016-03-10 23:36:49.339881"]] [1m[35m (12.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) [1m[36m (13.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "CgUyNTZtd1yC2DwQ5FMy"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$O7tQ9x2ZYs/gRGDTlOSXtudKiFsWWHH/EQ44vs56tyS3Oi6sCqBOy"], ["confirmed_at", "2016-03-10 23:36:49.549492"], ["authentication_token", "CgUyNTZtd1yC2DwQ5FMy"], ["created_at", "2016-03-10 23:36:49.553525"], ["updated_at", "2016-03-10 23:36:49.553525"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:49.573402"], ["updated_at", "2016-03-10 23:36:49.573402"]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:49.590710"], ["updated_at", "2016-03-10 23:36:49.590710"]] [1m[35m (14.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[36m (12.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (15.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (14.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (13.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.8ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (12.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "yxCNAeC7z5yGtfuRsKN_"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$fHL5Hu0B7BIXf4vXmRy39eTJgQh.ElcPQ9TOVjtaTogwloAiMoQKK"], ["confirmed_at", "2016-03-10 23:36:49.881064"], ["authentication_token", "yxCNAeC7z5yGtfuRsKN_"], ["created_at", "2016-03-10 23:36:49.884682"], ["updated_at", "2016-03-10 23:36:49.884682"]] [1m[36m (12.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:49.905436"], ["updated_at", "2016-03-10 23:36:49.905436"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:49.921994"], ["updated_at", "2016-03-10 23:36:49.921994"]] [1m[35m (10.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:49 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.6ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "BTDrWRsKcYtq5q4t3zWx"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test25@example.com"], ["encrypted_password", "$2a$04$SAw/C/.hbR9su5Tjnp907.13XUoXlA9nBDDj8IDsN6h2aGN6tGTJ6"], ["confirmed_at", "2016-03-10 23:36:50.032184"], ["authentication_token", "BTDrWRsKcYtq5q4t3zWx"], ["created_at", "2016-03-10 23:36:50.035174"], ["updated_at", "2016-03-10 23:36:50.035174"]] [1m[36m (13.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-10 23:36:50.054030"], ["updated_at", "2016-03-10 23:36:50.054030"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:36:50.070454"], ["updated_at", "2016-03-10 23:36:50.070454"]] [1m[35m (13.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:36:50 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[36m (13.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (15.8ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "P1Xn5gVeQydhDf5ySZB-"]] [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$3Z3C1W7tBAhq8hOd0aZyiuZNBQ00tgUc3YEgIvw5UNtoZ2mVBG2fK"], ["confirmed_at", "2016-03-10 23:39:50.407439"], ["authentication_token", "P1Xn5gVeQydhDf5ySZB-"], ["created_at", "2016-03-10 23:39:50.506661"], ["updated_at", "2016-03-10 23:39:50.506661"]] [1m[35m (15.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:50 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (259.0ms) Completed 500 Internal Server Error in 358ms (ActiveRecord: 0.0ms) [1m[36m (21.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.7ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (14.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "jGoFoe6HfCBi7zw4ds2R"]] [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$HEs0eeGmVfLe03ywN3b55O3H2Hijds2uV/fd/IhGTsk/zlhbAfaOG"], ["confirmed_at", "2016-03-10 23:39:51.010764"], ["authentication_token", "jGoFoe6HfCBi7zw4ds2R"], ["created_at", "2016-03-10 23:39:51.014305"], ["updated_at", "2016-03-10 23:39:51.014305"]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:51.058476"], ["updated_at", "2016-03-10 23:39:51.058476"]] [1m[36m (14.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:51.167982"], ["updated_at", "2016-03-10 23:39:51.167982"]] [1m[35m (14.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:51 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.7ms) Completed 200 OK in 467ms (Views: 466.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:39:51 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (14.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (50.0ms) Completed 200 OK in 71ms (Views: 67.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:39:51 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (7.2ms) Completed 200 OK in 42ms (Views: 14.6ms | ActiveRecord: 2.3ms) [1m[36m (15.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (13.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:52 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:39:52 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.2ms) Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:39:52 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.8ms) Completed 200 OK in 24ms (Views: 8.1ms | ActiveRecord: 1.7ms) [1m[36m (12.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (13.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.9ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:52 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:39:52 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.6ms) Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:39:52 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:53.302020"], ["updated_at", "2016-03-10 23:39:53.302020"]] [1m[35m (16.7ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:53.331942"], ["updated_at", "2016-03-10 23:39:53.331942"]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-10 23:39:53.348675"], ["updated_at", "2016-03-10 23:39:53.349774"], ["id", 1]] [1m[35m (10.8ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.7ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-10 23:39:53.373347"], ["current_sign_in_at", "2016-03-10 23:39:53.373347"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-10 23:39:53.374734"], ["id", 1]] [1m[35m (12.8ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 1021ms (ActiveRecord: 59.0ms) Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:53 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.6ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (1.9ms) Completed 200 OK in 21ms (Views: 16.8ms | ActiveRecord: 0.9ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (15.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-10 23:39:53.529164"], ["updated_at", "2016-03-10 23:39:53.529164"]] [1m[36m (13.4ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:53 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:39:53 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.8ms) Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-10 23:39:53 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.0ms) Completed 200 OK in 37ms (Views: 8.1ms | ActiveRecord: 2.6ms) [1m[35m (16.8ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (14.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (13.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.8ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (13.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (14.1ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (2.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (14.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "BfBxcZ1dukjR7yDArpi7"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "497b17790ba726bee72223a4d289cc231264c9cc2c0455f2bd7d0b191dedf269"]] [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "user@example.com"], ["encrypted_password", "$2a$04$xU8aLE/qpWpm.WYBnNrdwuyYUFtrNfqQ3OHrZTh/Lzvo8enVLiqiW"], ["authentication_token", "BfBxcZ1dukjR7yDArpi7"], ["created_at", "2016-03-10 23:39:53.788349"], ["updated_at", "2016-03-10 23:39:53.788349"], ["confirmation_token", "Fff2RPZ7jXRD1MWj6xVo"], ["confirmation_sent_at", "2016-03-10 23:39:53.790939"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (7.7ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 11.4ms Sent mail to user@example.com (2.8ms) Date: Thu, 10 Mar 2016 23:39:53 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e205c9c51e8_8964d50f828545@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:53.809772"], ["updated_at", "2016-03-10 23:39:53.809772"]] [1m[36m (13.2ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:53.828141"], ["updated_at", "2016-03-10 23:39:53.828141"]] [1m[35m (12.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-10 23:39:53.843607"], ["updated_at", "2016-03-10 23:39:53.844551"], ["id", 1]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.7ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (11.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.9ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (14.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "kH-sj2U1fgRgC7NmCmds"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test2@example.com"], ["encrypted_password", "$2a$04$908yY83GT2gC0BsSo9ZWme7mcZJvTJfH9rQX9BQTA9OzaA5tcj.BS"], ["confirmed_at", "2016-03-10 23:39:54.009371"], ["authentication_token", "kH-sj2U1fgRgC7NmCmds"], ["created_at", "2016-03-10 23:39:54.013471"], ["updated_at", "2016-03-10 23:39:54.013471"]] [1m[36m (12.2ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:54.038216"], ["updated_at", "2016-03-10 23:39:54.038216"]] [1m[36m (12.9ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:54.060895"], ["updated_at", "2016-03-10 23:39:54.060895"]] [1m[35m (13.5ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "NHzsHa1E81j-iKaW2uXy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$M89qi8dieFwyc4X/W4tvj.T67xt8zIanNsWO.RJgZt9UPr.A8H0yi"], ["confirmed_at", "2016-03-10 23:39:54.082808"], ["authentication_token", "NHzsHa1E81j-iKaW2uXy"], ["created_at", "2016-03-10 23:39:54.089248"], ["updated_at", "2016-03-10 23:39:54.089248"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 2], ["created_at", "2016-03-10 23:39:54.108763"], ["updated_at", "2016-03-10 23:39:54.108763"]] [1m[36m (13.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:39:54.126939"], ["updated_at", "2016-03-10 23:39:54.126939"]] [1m[35m (10.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:39:54.147930"], ["updated_at", "2016-03-10 23:39:54.147930"]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:39:54.164515"], ["updated_at", "2016-03-10 23:39:54.164515"]] [1m[35m (13.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:54 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (13.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (14.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "FHxL6vFrUX9d5n8BxHfv"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$8OJZS059qxEiJL7d0Jx2fO.DqlYjOp1VXIbkbfclgRENxaYmdD8Jm"], ["confirmed_at", "2016-03-10 23:39:54.297218"], ["authentication_token", "FHxL6vFrUX9d5n8BxHfv"], ["created_at", "2016-03-10 23:39:54.301200"], ["updated_at", "2016-03-10 23:39:54.301200"]] [1m[36m (12.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:54.320565"], ["updated_at", "2016-03-10 23:39:54.320565"]] [1m[36m (12.6ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:54.337613"], ["updated_at", "2016-03-10 23:39:54.337613"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "jtUkaGf4G41y2PQqbAMP"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$TwOkDY3HW.61df3tKfhkpOmpT2RRIFqsFamUElmk9VEORGjxMqCYm"], ["confirmed_at", "2016-03-10 23:39:54.351803"], ["authentication_token", "jtUkaGf4G41y2PQqbAMP"], ["created_at", "2016-03-10 23:39:54.354791"], ["updated_at", "2016-03-10 23:39:54.354791"]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 2], ["created_at", "2016-03-10 23:39:54.374299"], ["updated_at", "2016-03-10 23:39:54.374299"]] [1m[36m (12.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:39:54.390787"], ["updated_at", "2016-03-10 23:39:54.390787"]] [1m[35m (11.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-10 23:39:54.405991"], ["updated_at", "2016-03-10 23:39:54.405991"]] [1m[36m (11.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-10 23:39:54.421225"], ["updated_at", "2016-03-10 23:39:54.421225"]] [1m[35m (13.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:54 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (13.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (15.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (14.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (14.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (13.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "xVSM4PtSxiLV3EnvTzw2"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$N0l6fMoxcgrPgr0UpwNGoeyrIhZD0PElTqjVXs6UiEi6HmWAe/kvu"], ["confirmed_at", "2016-03-10 23:39:54.723833"], ["authentication_token", "xVSM4PtSxiLV3EnvTzw2"], ["created_at", "2016-03-10 23:39:54.726599"], ["updated_at", "2016-03-10 23:39:54.726599"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:54.748697"], ["updated_at", "2016-03-10 23:39:54.748697"]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:54.767375"], ["updated_at", "2016-03-10 23:39:54.767375"]] [1m[35m (13.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:54 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (13.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-10 23:39:54 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:54 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) [1m[36m (14.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (14.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (14.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (16.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (14.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (14.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (26.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.9ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) [1m[36m (27.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (14.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (13.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.0ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[36m (17.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (13.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "JNKUoNLkp-aJTqooL_hG"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$P/55LNGQ/oBaUUmx7gbOreB1imqr2otyR9ro2HQu.UonZ50nidcrO"], ["confirmed_at", "2016-03-10 23:39:55.373389"], ["authentication_token", "JNKUoNLkp-aJTqooL_hG"], ["created_at", "2016-03-10 23:39:55.377509"], ["updated_at", "2016-03-10 23:39:55.377509"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.3ms) Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) [1m[35m (13.4ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (26.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.2ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (13.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "874-ZNGQi62s-9cG1DNG"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$v3Tq9MIWI/VagsUutVqT1eLdpH.VF7sE4ySvCSk6n2R5jFWgJ0s0W"], ["confirmed_at", "2016-03-10 23:39:55.561365"], ["authentication_token", "874-ZNGQi62s-9cG1DNG"], ["created_at", "2016-03-10 23:39:55.565467"], ["updated_at", "2016-03-10 23:39:55.565467"]] [1m[35m (11.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:55.585023"], ["updated_at", "2016-03-10 23:39:55.585023"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:55.602378"], ["updated_at", "2016-03-10 23:39:55.602378"]] [1m[36m (13.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (11.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.7ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "GYCv9oxxQoJ24u8SzNLg"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$5IIFSx1j5g08iKVmDwPpie73tO/RduxkeP1JCFRvCmx0QdNayBO.G"], ["confirmed_at", "2016-03-10 23:39:55.721633"], ["authentication_token", "GYCv9oxxQoJ24u8SzNLg"], ["created_at", "2016-03-10 23:39:55.725365"], ["updated_at", "2016-03-10 23:39:55.725365"]] [1m[35m (7.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:55.740491"], ["updated_at", "2016-03-10 23:39:55.740491"]] [1m[35m (11.5ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:55.757631"], ["updated_at", "2016-03-10 23:39:55.757631"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (1.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "aUbSBtPRWN1iRkkA2qWZ"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$D3B66NZcRsjZZjgwhOUGVelZ9e8D9HaYQIK/gFkki00ZyiEYzmHze"], ["confirmed_at", "2016-03-10 23:39:55.858651"], ["authentication_token", "aUbSBtPRWN1iRkkA2qWZ"], ["created_at", "2016-03-10 23:39:55.862393"], ["updated_at", "2016-03-10 23:39:55.862393"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.5ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:55.886896"], ["updated_at", "2016-03-10 23:39:55.886896"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:55.908546"], ["updated_at", "2016-03-10 23:39:55.908546"]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:55 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) [1m[35m (10.6ms)[0m DELETE FROM "things"; [1m[36m (0.7ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Tz1rR4-WeZWNvyMNJ_uu"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$hgZm4GhyzAVVLauNj./VPeQrQux804jv8hl6pjqf9jlODNSKNRtpq"], ["confirmed_at", "2016-03-10 23:39:56.023348"], ["authentication_token", "Tz1rR4-WeZWNvyMNJ_uu"], ["created_at", "2016-03-10 23:39:56.026944"], ["updated_at", "2016-03-10 23:39:56.026944"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:56.044586"], ["updated_at", "2016-03-10 23:39:56.044586"]] [1m[35m (11.9ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:56.061404"], ["updated_at", "2016-03-10 23:39:56.061404"]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.9ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "AyA1WGtx3Mv6xKzfGan1"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test18@example.com"], ["encrypted_password", "$2a$04$5sX4XNR5C7F5fiJEywFY4.C6didrfPpt2tavzN95ky5q0kS2ZyDE2"], ["confirmed_at", "2016-03-10 23:39:56.215076"], ["authentication_token", "AyA1WGtx3Mv6xKzfGan1"], ["created_at", "2016-03-10 23:39:56.219141"], ["updated_at", "2016-03-10 23:39:56.219141"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:56.237067"], ["updated_at", "2016-03-10 23:39:56.237067"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:56.253724"], ["updated_at", "2016-03-10 23:39:56.253724"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test11"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test11"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test11"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test11"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.2ms) [1m[35m (11.8ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ZeW-Bzcs-AXyBQ3tqrU9"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test19@example.com"], ["encrypted_password", "$2a$04$SkfY3l7ElPCKfF2prbjwZ.KPQpvnI/IzTHad3IOLQVlnMGd5vjAqO"], ["confirmed_at", "2016-03-10 23:39:56.366766"], ["authentication_token", "ZeW-Bzcs-AXyBQ3tqrU9"], ["created_at", "2016-03-10 23:39:56.370305"], ["updated_at", "2016-03-10 23:39:56.370305"]] [1m[35m (10.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:56.387970"], ["updated_at", "2016-03-10 23:39:56.387970"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:56.403936"], ["updated_at", "2016-03-10 23:39:56.403936"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test12"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test12"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test12"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test12"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.9ms) Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.3ms) [1m[35m (11.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "tc4oBA5uJRzK4rzbQzAt"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test20@example.com"], ["encrypted_password", "$2a$04$JhI3C3UGrcmNQnWuB7jGReH0McXaNgrxGeKwtI/rmlyH8FZlfAxFW"], ["confirmed_at", "2016-03-10 23:39:56.523430"], ["authentication_token", "tc4oBA5uJRzK4rzbQzAt"], ["created_at", "2016-03-10 23:39:56.527827"], ["updated_at", "2016-03-10 23:39:56.527827"]] [1m[35m (10.6ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.6ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:56.550441"], ["updated_at", "2016-03-10 23:39:56.550441"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:56.565666"], ["updated_at", "2016-03-10 23:39:56.565666"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test13"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test13"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.9ms) Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.3ms) [1m[35m (12.5ms)[0m DELETE FROM "things"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (13.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "yuEubuMDQyZcSv1KnbSL"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test21@example.com"], ["encrypted_password", "$2a$04$UVaTnBfmmZEz09u5iywVAu3AtrQVD3tWCTddJQKhyXGxGtrJKAnse"], ["confirmed_at", "2016-03-10 23:39:56.687569"], ["authentication_token", "yuEubuMDQyZcSv1KnbSL"], ["created_at", "2016-03-10 23:39:56.691776"], ["updated_at", "2016-03-10 23:39:56.691776"]] [1m[35m (12.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:56.711224"], ["updated_at", "2016-03-10 23:39:56.711224"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:56.726938"], ["updated_at", "2016-03-10 23:39:56.726938"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "v-5--betvM4z6jEzLxqf"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test22@example.com"], ["encrypted_password", "$2a$04$OK56V3jNEO0i99oNFEZbfO5J9/5VdAoTb29QCKE9vabHqNV98Px9G"], ["confirmed_at", "2016-03-10 23:39:56.742882"], ["authentication_token", "v-5--betvM4z6jEzLxqf"], ["created_at", "2016-03-10 23:39:56.746632"], ["updated_at", "2016-03-10 23:39:56.746632"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 2], ["created_at", "2016-03-10 23:39:56.763788"], ["updated_at", "2016-03-10 23:39:56.763788"]] [1m[35m (10.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-10 23:39:56.778923"], ["updated_at", "2016-03-10 23:39:56.778923"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:56 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.2ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (1.8ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (13.9ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "g-sxutyWTrkDiBAWXju3"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test23@example.com"], ["encrypted_password", "$2a$04$qFx8DeQ0T4BuGMYQo/jLR.YwlHqKznDMWOrIpz0p5NAKfWl9ZtfFm"], ["confirmed_at", "2016-03-10 23:39:56.955707"], ["authentication_token", "g-sxutyWTrkDiBAWXju3"], ["created_at", "2016-03-10 23:39:56.960806"], ["updated_at", "2016-03-10 23:39:56.960806"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:56.980576"], ["updated_at", "2016-03-10 23:39:56.980576"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:56.998297"], ["updated_at", "2016-03-10 23:39:56.998297"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:57 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.6ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "grfsqs2Mi2Sgs9Q8_DVJ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test25@example.com"], ["encrypted_password", "$2a$04$hoS.L6qxsNSdkFVzgVsJsOAJua/qw6U4qE8iJQZ.6MFJeqn7Jx1FG"], ["confirmed_at", "2016-03-10 23:39:57.107141"], ["authentication_token", "grfsqs2Mi2Sgs9Q8_DVJ"], ["created_at", "2016-03-10 23:39:57.110983"], ["updated_at", "2016-03-10 23:39:57.110983"]] [1m[35m (10.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.5ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-10 23:39:57.129108"], ["updated_at", "2016-03-10 23:39:57.129108"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-10 23:39:57.145597"], ["updated_at", "2016-03-10 23:39:57.145597"]] [1m[36m (11.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-10 23:39:57 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (14.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "4GBLzn1T8AASdxfw_4pe"]] [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$IPN71GFSStMfVLTzsO6vke80ynn3sC2BI3mgfDIN4tNOR0Q4f3rg2"], ["confirmed_at", "2016-03-11 01:33:58.830914"], ["authentication_token", "4GBLzn1T8AASdxfw_4pe"], ["created_at", "2016-03-11 01:33:58.932035"], ["updated_at", "2016-03-11 01:33:58.932035"]] [1m[35m (17.8ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:33:58.998228"], ["updated_at", "2016-03-11 01:33:58.998228"]] [1m[35m (14.4ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:33:59.131602"], ["updated_at", "2016-03-11 01:33:59.131602"]] [1m[36m (12.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:33:59 +0000 [1m[35mMtdevise::Account Load (0.5ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] Completed 401 Unauthorized in 33ms (ActiveRecord: 0.4ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:33:59 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (315.2ms) Completed 200 OK in 838ms (Views: 831.1ms | ActiveRecord: 0.3ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test1"]] [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 13ms (ActiveRecord: 1.0ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test1"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.0ms) [1m[36m (17.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ux6b-mMgkPxye_319kxU"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test2@example.com"], ["encrypted_password", "$2a$04$tB0/Jxz5sIHPCl2y30ZT9.WsIJcXhVP7.zHD1jPTmjLaZMhUPhvKK"], ["confirmed_at", "2016-03-11 01:34:00.323329"], ["authentication_token", "ux6b-mMgkPxye_319kxU"], ["created_at", "2016-03-11 01:34:00.329129"], ["updated_at", "2016-03-11 01:34:00.329129"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:00.347924"], ["updated_at", "2016-03-11 01:34:00.347924"]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:00.367333"], ["updated_at", "2016-03-11 01:34:00.367333"]] [1m[35m (20.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test2"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test2"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.1ms) Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test2"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test2"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test2@example.com"]] Completed 401 Unauthorized in 9ms (ActiveRecord: 0.7ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test2"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.3ms) Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.0ms) [1m[35m (19.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (32.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "oyK29BKBMxLyM1Fx_gP7"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$IEGVUaN5Ir2w5ZRlgXpdKuU8KR4X3aBL.sKZY3EdF92pWT5usBmW6"], ["confirmed_at", "2016-03-11 01:34:00.566107"], ["authentication_token", "oyK29BKBMxLyM1Fx_gP7"], ["created_at", "2016-03-11 01:34:00.570001"], ["updated_at", "2016-03-11 01:34:00.570001"]] [1m[35m (8.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:00.584348"], ["updated_at", "2016-03-11 01:34:00.584348"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:00.598314"], ["updated_at", "2016-03-11 01:34:00.598314"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test3"]] [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test3@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:34:00.668173"], ["current_sign_in_at", "2016-03-11 01:34:00.668173"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:00.669939"], ["id", 1]] [1m[35m (11.5ms)[0m commit transaction Redirected to http://test3.example.com/ Completed 302 Found in 55ms (ActiveRecord: 13.0ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (3.5ms) Completed 200 OK in 29ms (Views: 24.6ms | ActiveRecord: 0.7ms) [1m[35m (12.9ms)[0m DELETE FROM "things"; [1m[36m (0.9ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "WZpAspNDLSDBMFAAAyPo"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@example.com"], ["encrypted_password", "$2a$04$xrAaKh0JXeD2mJd1.p.7kOuMPf.nTsUiOwVB2bclGY03csVB0GSoy"], ["confirmed_at", "2016-03-11 01:34:00.836342"], ["authentication_token", "WZpAspNDLSDBMFAAAyPo"], ["created_at", "2016-03-11 01:34:00.840741"], ["updated_at", "2016-03-11 01:34:00.840741"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:00.859867"], ["updated_at", "2016-03-11 01:34:00.859867"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:00.874906"], ["updated_at", "2016-03-11 01:34:00.874906"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "n7dBTWPG1PqpkRKHUpGy"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$bOykYIC148l52mAWSvk.1ekARYGrclNrRAabKtFiseDz3ztur5mqS"], ["confirmed_at", "2016-03-11 01:34:00.889825"], ["authentication_token", "n7dBTWPG1PqpkRKHUpGy"], ["created_at", "2016-03-11 01:34:00.893606"], ["updated_at", "2016-03-11 01:34:00.893606"]] [1m[35m (7.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 2], ["created_at", "2016-03-11 01:34:00.908710"], ["updated_at", "2016-03-11 01:34:00.908710"]] [1m[35m (11.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:34:00.924789"], ["updated_at", "2016-03-11 01:34:00.924789"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:00 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test4"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test5@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.0ms) [1m[36m (10.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ZjtxvhBfgACx6sHF2Unx"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$s6ZjvlDQPHG9Ok.42Q4hyelbPeK4f0PeqomKz9m1mhlHm8KS0b0sC"], ["confirmed_at", "2016-03-11 01:34:01.177255"], ["authentication_token", "ZjtxvhBfgACx6sHF2Unx"], ["created_at", "2016-03-11 01:34:01.180503"], ["updated_at", "2016-03-11 01:34:01.180503"]] [1m[36m (12.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:01.200437"], ["updated_at", "2016-03-11 01:34:01.200437"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:01.216211"], ["updated_at", "2016-03-11 01:34:01.216211"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test6@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:34:01.264761"], ["current_sign_in_at", "2016-03-11 01:34:01.264761"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:01.266192"], ["id", 1]] [1m[35m (9.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 11.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (3.5ms) Completed 200 OK in 25ms (Views: 16.4ms | ActiveRecord: 0.6ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (13.1ms) Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:34:01 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "sBz_Vgk7pGecZeHUiB8_"]] [1m[36mMtdevise::User Load (0.8ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "9ce7232db0fb4e2cee1c02e64f73c082cba189be41cb07008a084e4daedfdb53"]] [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$2tiWTFlVIwA.E62s/tTtTOvQ6TjxLOieqKx6mbGwqZpE8rGieIodq"], ["authentication_token", "sBz_Vgk7pGecZeHUiB8_"], ["created_at", "2016-03-11 01:34:01.577186"], ["updated_at", "2016-03-11 01:34:01.577186"], ["confirmation_token", "piX-Y6GzxNpKAmcHkMqE"], ["confirmation_sent_at", "2016-03-11 01:34:01.829729"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (10.6ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 544.3ms Sent mail to mtdevise@example.com (54.1ms) Date: Fri, 11 Mar 2016 01:34:02 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e2208a6ede6_c787b70f0238a9@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:02.469142"], ["updated_at", "2016-03-11 01:34:02.469142"]] [1m[35m (20.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:02.495171"], ["updated_at", "2016-03-11 01:34:02.495171"]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:34:02.510894"], ["updated_at", "2016-03-11 01:34:02.511938"], ["id", 1]] [1m[35m (10.7ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:34:02.530862"], ["current_sign_in_at", "2016-03-11 01:34:02.530862"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:02.531842"], ["id", 1]] [1m[35m (12.2ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 1034ms (ActiveRecord: 61.8ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:02 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (0.8ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms) [1m[35m (16.6ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "RyZDu5L8uFiKScsF3HxG"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test8@example.com"], ["encrypted_password", "$2a$04$V24U1tR60aCckM/qdQaBjuWkmMrzjH82Nuv158hYswtbqtPuJA256"], ["confirmed_at", "2016-03-11 01:34:02.641194"], ["authentication_token", "RyZDu5L8uFiKScsF3HxG"], ["created_at", "2016-03-11 01:34:02.647354"], ["updated_at", "2016-03-11 01:34:02.647354"]] [1m[35m (13.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:02.670630"], ["updated_at", "2016-03-11 01:34:02.670630"]] [1m[35m (13.7ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:02.690854"], ["updated_at", "2016-03-11 01:34:02.690854"]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:02 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:34:02 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.1ms) Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:34:02 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (6.1ms) Completed 200 OK in 31ms (Views: 12.7ms | ActiveRecord: 1.9ms) [1m[35m (11.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (25.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:02 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:34:02 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.4ms) Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:34:02 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:03.831607"], ["updated_at", "2016-03-11 01:34:03.831607"]] [1m[35m (10.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:03.847321"], ["updated_at", "2016-03-11 01:34:03.847321"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:34:03.858228"], ["updated_at", "2016-03-11 01:34:03.858816"], ["id", 1]] [1m[35m (8.8ms)[0m commit transaction [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xR1LTevJb5aiKj_2K2Cq"]] [1m[36mSQL (1.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$T/klIoRXAZNPC8.BHM.jNukOMitUqs6rjyFNiqefjjkYkCcj8OaQW"], ["confirmed_at", "2016-03-11 01:34:03.971381"], ["authentication_token", "xR1LTevJb5aiKj_2K2Cq"], ["created_at", "2016-03-11 01:34:03.974689"], ["updated_at", "2016-03-11 01:34:03.974689"]] [1m[35m (10.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:03 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:34:04.013050"], ["current_sign_in_at", "2016-03-11 01:34:04.013050"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:04.013981"], ["id", 1]] [1m[35m (9.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.4ms) [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) [1m[35m (9.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.8ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) [1m[35m (11.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (6.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.6ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "G1V2KkaMayqaPqyjGp1F"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$ZddZ6Vjatwg.MghBuhKrc.C2zqcSDWddbCworHV3cbU5QdbVVDvKy"], ["confirmed_at", "2016-03-11 01:34:04.410195"], ["authentication_token", "G1V2KkaMayqaPqyjGp1F"], ["created_at", "2016-03-11 01:34:04.413165"], ["updated_at", "2016-03-11 01:34:04.413165"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:04.427866"], ["updated_at", "2016-03-11 01:34:04.427866"]] [1m[35m (12.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:04.445323"], ["updated_at", "2016-03-11 01:34:04.445323"]] [1m[36m (8.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "_NJu3higLRjMLuMeVnBL"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$l52HwS5NFtOcKlROu0uLEeo5iLuEGqUdcF28onuUH10DAFH7PNvbG"], ["confirmed_at", "2016-03-11 01:34:04.457809"], ["authentication_token", "_NJu3higLRjMLuMeVnBL"], ["created_at", "2016-03-11 01:34:04.461601"], ["updated_at", "2016-03-11 01:34:04.461601"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 2], ["created_at", "2016-03-11 01:34:04.474354"], ["updated_at", "2016-03-11 01:34:04.474354"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:34:04.485302"], ["updated_at", "2016-03-11 01:34:04.485302"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:34:04.502563"], ["updated_at", "2016-03-11 01:34:04.502563"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:34:04.514538"], ["updated_at", "2016-03-11 01:34:04.514538"]] [1m[36m (6.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test12@example.com"]] [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:34:04.546913"], ["current_sign_in_at", "2016-03-11 01:34:04.546913"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:04.547988"], ["id", 1]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 1]] Rendered things/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.3ms) [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (2.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (44.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "LESy9a61P9cvGKQzxqeC"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test15@example.com"], ["encrypted_password", "$2a$04$QI8Lstzg8sxXZMtduCaTIu7/PUF9rJAao9VqXZp6KPsjAskPkxCkS"], ["confirmed_at", "2016-03-11 01:34:04.715282"], ["authentication_token", "LESy9a61P9cvGKQzxqeC"], ["created_at", "2016-03-11 01:34:04.719623"], ["updated_at", "2016-03-11 01:34:04.719623"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:04.737074"], ["updated_at", "2016-03-11 01:34:04.737074"]] [1m[35m (8.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:04.751099"], ["updated_at", "2016-03-11 01:34:04.751099"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "JdWt9bEf1XbBdPJCXVuX"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$QbdH8LLD5T1Xi9osL/uu6.pZwCnUxso4cYaPC7VVT06bPVSxIt1Q6"], ["confirmed_at", "2016-03-11 01:34:04.765145"], ["authentication_token", "JdWt9bEf1XbBdPJCXVuX"], ["created_at", "2016-03-11 01:34:04.770082"], ["updated_at", "2016-03-11 01:34:04.770082"]] [1m[35m (8.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 2], ["created_at", "2016-03-11 01:34:04.783950"], ["updated_at", "2016-03-11 01:34:04.783950"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:34:04.796423"], ["updated_at", "2016-03-11 01:34:04.796423"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:34:04.808227"], ["updated_at", "2016-03-11 01:34:04.808227"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:34:04.819878"], ["updated_at", "2016-03-11 01:34:04.819878"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test16@example.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:34:04.859909"], ["current_sign_in_at", "2016-03-11 01:34:04.859909"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:04.861147"], ["id", 2]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 01:34:04 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test13"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 2]] Rendered things/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "2UbLJ1QueMo44EUKx7WF"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test18@example.com"], ["encrypted_password", "$2a$04$GMwyvOP0tEiauCThafyWhOzamog1MDLzYQ2O9MDMoPQi1prA7gazO"], ["confirmed_at", "2016-03-11 01:34:05.007076"], ["authentication_token", "2UbLJ1QueMo44EUKx7WF"], ["created_at", "2016-03-11 01:34:05.010290"], ["updated_at", "2016-03-11 01:34:05.010290"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:05.026540"], ["updated_at", "2016-03-11 01:34:05.026540"]] [1m[35m (7.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:05.038641"], ["updated_at", "2016-03-11 01:34:05.038641"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test18@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:34:05.075897"], ["current_sign_in_at", "2016-03-11 01:34:05.075897"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:05.076879"], ["id", 1]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.2ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test14"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.6ms) Completed 200 OK in 14ms (Views: 4.9ms | ActiveRecord: 1.4ms) [1m[35m (14.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "19RoyzwC3K6Y5iCdhNzL"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test20@example.com"], ["encrypted_password", "$2a$04$gjTJBeEbpfptqGOM2hB2peqz.N5dATe/wtPow1xaQiBObWSOUJUGu"], ["confirmed_at", "2016-03-11 01:34:05.215750"], ["authentication_token", "19RoyzwC3K6Y5iCdhNzL"], ["created_at", "2016-03-11 01:34:05.218646"], ["updated_at", "2016-03-11 01:34:05.218646"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:05.233607"], ["updated_at", "2016-03-11 01:34:05.233607"]] [1m[35m (7.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:05.245781"], ["updated_at", "2016-03-11 01:34:05.245781"]] [1m[36m (7.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test20@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:34:05.282815"], ["current_sign_in_at", "2016-03-11 01:34:05.282815"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:05.283733"], ["id", 1]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 17ms (ActiveRecord: 9.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["created_at", "2016-03-11 01:34:05.337254"], ["updated_at", "2016-03-11 01:34:05.337254"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 1], ["created_at", "2016-03-11 01:34:05.355638"], ["updated_at", "2016-03-11 01:34:05.355638"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ? [["owner_id", 1], ["updated_at", "2016-03-11 01:34:05.370747"], ["id", 2]] [1m[36m (8.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 51ms (ActiveRecord: 32.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "UVzd3NbjnF-jfER6Tb-D"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test22@example.com"], ["encrypted_password", "$2a$04$rYaRGw99TSbAPQM670rSfudR87iQ/jsS/xIESWsz4OPB8vmBHs/mq"], ["confirmed_at", "2016-03-11 01:34:05.459023"], ["authentication_token", "UVzd3NbjnF-jfER6Tb-D"], ["created_at", "2016-03-11 01:34:05.462205"], ["updated_at", "2016-03-11 01:34:05.462205"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:05.474586"], ["updated_at", "2016-03-11 01:34:05.474586"]] [1m[35m (7.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:05.485933"], ["updated_at", "2016-03-11 01:34:05.485933"]] [1m[36m (7.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test22@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:34:05.520641"], ["current_sign_in_at", "2016-03-11 01:34:05.520641"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:05.521486"], ["id", 1]] [1m[36m (8.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 17ms (ActiveRecord: 9.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.4ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.4ms) Completed 200 OK in 13ms (Views: 4.8ms | ActiveRecord: 1.3ms) [1m[35m (7.6ms)[0m DELETE FROM "things"; [1m[36m (0.8ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "LxTzR5ySgv1G83r2efkn"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test24@example.com"], ["encrypted_password", "$2a$04$DJmPkrWNt2kushxLXqpJ4OxG4N6JGEax5GWCHbxNbUvbQESqIQq6y"], ["confirmed_at", "2016-03-11 01:34:05.642785"], ["authentication_token", "LxTzR5ySgv1G83r2efkn"], ["created_at", "2016-03-11 01:34:05.647263"], ["updated_at", "2016-03-11 01:34:05.647263"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-11 01:34:05.663513"], ["updated_at", "2016-03-11 01:34:05.663513"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:34:05.677625"], ["updated_at", "2016-03-11 01:34:05.677625"]] [1m[36m (8.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test24@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:34:05.713435"], ["current_sign_in_at", "2016-03-11 01:34:05.713435"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:34:05.714351"], ["id", 1]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.6ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:34:05 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:13.119679"], ["updated_at", "2016-03-11 01:40:13.119679"]] [1m[36m (15.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:13.210550"], ["updated_at", "2016-03-11 01:40:13.210550"]] [1m[35m (14.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 01:40:13.227420"], ["updated_at", "2016-03-11 01:40:13.228126"], ["id", 1]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:40:13.245715"], ["current_sign_in_at", "2016-03-11 01:40:13.245715"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:13.246390"], ["id", 1]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 849ms (ActiveRecord: 54.0ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (28.7ms) Completed 500 Internal Server Error in 41ms (ActiveRecord: 0.5ms) [1m[36m (11.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.2ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.5ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (27.5ms) Completed 500 Internal Server Error in 45ms (ActiveRecord: 1.4ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "8bfy7RT8fPqhkeri7agc"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$yJy0q5lfzWTLcKR/lKz7JO5tnmg9bqKoeGn5XStAbizrFp24odsoa"], ["confirmed_at", "2016-03-11 01:40:13.491252"], ["authentication_token", "8bfy7RT8fPqhkeri7agc"], ["created_at", "2016-03-11 01:40:13.493849"], ["updated_at", "2016-03-11 01:40:13.493849"]] [1m[36m (7.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:13.506478"], ["updated_at", "2016-03-11 01:40:13.506478"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:13.517587"], ["updated_at", "2016-03-11 01:40:13.517587"]] [1m[35m (9.3ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.8ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.0ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (27.0ms) Completed 500 Internal Server Error in 48ms (ActiveRecord: 1.8ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 01:40:13.679284"], ["updated_at", "2016-03-11 01:40:13.679284"]] [1m[35m (9.9ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.6ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (29.2ms) Completed 500 Internal Server Error in 70ms (ActiveRecord: 2.3ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "b28y_PcUzgFpyNsyFxP5"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$DlTDcYzvirX8JI99fIKGa.QR87G9Wn5h9sH7r1tcHhmlcguqfjIjG"], ["confirmed_at", "2016-03-11 01:40:13.851089"], ["authentication_token", "b28y_PcUzgFpyNsyFxP5"], ["created_at", "2016-03-11 01:40:13.854533"], ["updated_at", "2016-03-11 01:40:13.854533"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (32.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 46ms (Views: 42.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:40:13.936516"], ["current_sign_in_at", "2016-03-11 01:40:13.936516"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:13.937426"], ["id", 1]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 29ms (ActiveRecord: 9.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:13 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (1.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (9.1ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (42.1ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 1.9ms) [1m[35m (12.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "mKUGvhiECrxH7qHjqxon"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "fa64d3753a398b04bedfa111a85a61d36d43ef5ebfe0aa495c4a3e9f2214807d"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "user@example.com"], ["encrypted_password", "$2a$04$4pgGIlSSGJ4Ts4RTWnyQ0uyveEYF28.6afrxoHuqaG1Po.BA3Oypy"], ["authentication_token", "mKUGvhiECrxH7qHjqxon"], ["created_at", "2016-03-11 01:40:14.126696"], ["updated_at", "2016-03-11 01:40:14.126696"], ["confirmation_token", "iRU8zfQS6y3p1ZprK2qv"], ["confirmation_sent_at", "2016-03-11 01:40:14.127975"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.8ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 5.7ms Sent mail to user@example.com (2.5ms) Date: Fri, 11 Mar 2016 01:40:14 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e221fe2172a_cccb7b0d831cf@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.1ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:14.138965"], ["updated_at", "2016-03-11 01:40:14.138965"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:14.152798"], ["updated_at", "2016-03-11 01:40:14.152798"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 01:40:14.163273"], ["updated_at", "2016-03-11 01:40:14.163949"], ["id", 1]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (7.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "kAhdQsRGswHxU1_3vQg7"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test2@example.com"], ["encrypted_password", "$2a$04$IdC8SBgLbOV7Ew8LnQfkMeSjaWtGP2/5ZtZ620dlXDTGq0ReB/mQK"], ["confirmed_at", "2016-03-11 01:40:14.294834"], ["authentication_token", "kAhdQsRGswHxU1_3vQg7"], ["created_at", "2016-03-11 01:40:14.298104"], ["updated_at", "2016-03-11 01:40:14.298104"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:14.314095"], ["updated_at", "2016-03-11 01:40:14.314095"]] [1m[36m (7.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:14.326939"], ["updated_at", "2016-03-11 01:40:14.326939"]] [1m[35m (10.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.4ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test2@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:14.373559"], ["current_sign_in_at", "2016-03-11 01:40:14.373559"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:14.374682"], ["id", 1]] [1m[35m (10.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (36.4ms) Completed 500 Internal Server Error in 43ms (ActiveRecord: 0.5ms) [1m[36m (12.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "oXDSW5A7XMrQCEVQ3AJs"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$oslvr3jQ1zfXA2efOzPV0Onq1XeaTOE6RTX8qcJgEJy7g.0ijn052"], ["confirmed_at", "2016-03-11 01:40:14.507885"], ["authentication_token", "oXDSW5A7XMrQCEVQ3AJs"], ["created_at", "2016-03-11 01:40:14.510512"], ["updated_at", "2016-03-11 01:40:14.510512"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:14.526727"], ["updated_at", "2016-03-11 01:40:14.526727"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:14.537899"], ["updated_at", "2016-03-11 01:40:14.537899"]] [1m[35m (11.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test4@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:14.573996"], ["current_sign_in_at", "2016-03-11 01:40:14.573996"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:14.575323"], ["id", 1]] [1m[35m (12.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (36.8ms) Completed 500 Internal Server Error in 42ms (ActiveRecord: 0.3ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "nZFc74Jtt_fi8_k87pix"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$PCg1IvbWGGGxvORpLMLte.FdFmoS5gHTX7Gy.iFyFIhQSMvbfVeXS"], ["confirmed_at", "2016-03-11 01:40:14.703923"], ["authentication_token", "nZFc74Jtt_fi8_k87pix"], ["created_at", "2016-03-11 01:40:14.706817"], ["updated_at", "2016-03-11 01:40:14.706817"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:14.721942"], ["updated_at", "2016-03-11 01:40:14.721942"]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:14.733398"], ["updated_at", "2016-03-11 01:40:14.733398"]] [1m[35m (11.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test6@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:14.770044"], ["current_sign_in_at", "2016-03-11 01:40:14.770044"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:14.771004"], ["id", 1]] [1m[35m (10.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 10.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (41.8ms) Completed 500 Internal Server Error in 47ms (ActiveRecord: 0.3ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "LimzknV2D_1yK6gLkh3K"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$PXTedaqvrrfPLUyEonLzVuyMZ6HvQ1zlIvA2Nr8OTVaObQdXiwEqm"], ["confirmed_at", "2016-03-11 01:40:14.903105"], ["authentication_token", "LimzknV2D_1yK6gLkh3K"], ["created_at", "2016-03-11 01:40:14.906216"], ["updated_at", "2016-03-11 01:40:14.906216"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:14.922013"], ["updated_at", "2016-03-11 01:40:14.922013"]] [1m[36m (8.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:14.934154"], ["updated_at", "2016-03-11 01:40:14.934154"]] [1m[35m (7.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test8@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:14.969222"], ["current_sign_in_at", "2016-03-11 01:40:14.969222"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:14.970297"], ["id", 1]] [1m[35m (10.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:14 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (44.0ms) Completed 500 Internal Server Error in 50ms (ActiveRecord: 0.3ms) [1m[36m (12.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (6.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "bVddQM-T96R2ptr51vns"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$8S2oaF75oaZcRq2c0c.GfuA.nZrHtuTHgK3E6xiTqLhp2rX2BpJzi"], ["confirmed_at", "2016-03-11 01:40:15.135685"], ["authentication_token", "bVddQM-T96R2ptr51vns"], ["created_at", "2016-03-11 01:40:15.138683"], ["updated_at", "2016-03-11 01:40:15.138683"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:15.153355"], ["updated_at", "2016-03-11 01:40:15.153355"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:15.166235"], ["updated_at", "2016-03-11 01:40:15.166235"]] [1m[35m (7.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test10@example.com"]] Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (65.7ms) Completed 500 Internal Server Error in 73ms (ActiveRecord: 0.0ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Rt4sGUsfdAR_KoGrhfN9"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test11@example.com"], ["encrypted_password", "$2a$04$ISUs9oKiEYt.MaZWNWqzUe9ucU38l8F9I0cprAuI2LizioIbUOpEe"], ["confirmed_at", "2016-03-11 01:40:15.338997"], ["authentication_token", "Rt4sGUsfdAR_KoGrhfN9"], ["created_at", "2016-03-11 01:40:15.342090"], ["updated_at", "2016-03-11 01:40:15.342090"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:15.359370"], ["updated_at", "2016-03-11 01:40:15.359370"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:15.374070"], ["updated_at", "2016-03-11 01:40:15.374070"]] [1m[36m (7.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test11@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:40:15.410803"], ["current_sign_in_at", "2016-03-11 01:40:15.410803"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:15.411756"], ["id", 1]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 12.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (49.4ms) Completed 500 Internal Server Error in 56ms (ActiveRecord: 0.3ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.4ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "8ectEVMHxn7jEZykn1mZ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$vlQZMdhpGCv04KXPgdVIIuwMKo7ChrBlfCXNXRXwBB7Hjwd8ifL4q"], ["confirmed_at", "2016-03-11 01:40:15.594800"], ["authentication_token", "8ectEVMHxn7jEZykn1mZ"], ["created_at", "2016-03-11 01:40:15.598394"], ["updated_at", "2016-03-11 01:40:15.598394"]] [1m[35m (10.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:15.614674"], ["updated_at", "2016-03-11 01:40:15.614674"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:15.628687"], ["updated_at", "2016-03-11 01:40:15.628687"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test8"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test8"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test8"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test8"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (55.4ms) Completed 500 Internal Server Error in 63ms (ActiveRecord: 0.1ms) [1m[35m (12.2ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "2TvbGKpD71BsSZY6hKsb"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$XhjPKdyy39v4ux0ta5QQQucGvxtK8dwwtkSJTy0qeUtt.DMcmv6im"], ["confirmed_at", "2016-03-11 01:40:15.794987"], ["authentication_token", "2TvbGKpD71BsSZY6hKsb"], ["created_at", "2016-03-11 01:40:15.798353"], ["updated_at", "2016-03-11 01:40:15.798353"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:15.813952"], ["updated_at", "2016-03-11 01:40:15.813952"]] [1m[35m (7.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:15.825392"], ["updated_at", "2016-03-11 01:40:15.825392"]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test9"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test9"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:15 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test9"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test9"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (51.3ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.2ms) [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "tv8Qop6DY3eEZv1uhTh-"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test15@example.com"], ["encrypted_password", "$2a$04$JkWo3B1dTAbAfNJO/K0rk.njM37UYVS6wTMI0p29ANp9WHpdwpecS"], ["confirmed_at", "2016-03-11 01:40:15.983793"], ["authentication_token", "tv8Qop6DY3eEZv1uhTh-"], ["created_at", "2016-03-11 01:40:15.987014"], ["updated_at", "2016-03-11 01:40:15.987014"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:16.003992"], ["updated_at", "2016-03-11 01:40:16.003992"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:16.017954"], ["updated_at", "2016-03-11 01:40:16.017954"]] [1m[36m (7.1ms)[0m [1mcommit transaction[0m [1m[35m (0.5ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "bTydWZhGAYAJpbfcx2CS"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$qsHnalnXnqj4/eVeu4bsU.omyZtuLW7uPgoslHWact6OBCLOjINC2"], ["confirmed_at", "2016-03-11 01:40:16.029820"], ["authentication_token", "bTydWZhGAYAJpbfcx2CS"], ["created_at", "2016-03-11 01:40:16.033004"], ["updated_at", "2016-03-11 01:40:16.033004"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 2], ["created_at", "2016-03-11 01:40:16.047748"], ["updated_at", "2016-03-11 01:40:16.047748"]] [1m[35m (12.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:40:16.065429"], ["updated_at", "2016-03-11 01:40:16.065429"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (76.5ms) Completed 500 Internal Server Error in 87ms (ActiveRecord: 0.2ms) [1m[35m (12.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "9Ty-jnmR1UPrixr5Ncx4"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test17@example.com"], ["encrypted_password", "$2a$04$eXB8lHt7ZKMT1uimtBhyJO62KGo5a6iQoyERBxPxrYACrTK9CS7Zy"], ["confirmed_at", "2016-03-11 01:40:16.246852"], ["authentication_token", "9Ty-jnmR1UPrixr5Ncx4"], ["created_at", "2016-03-11 01:40:16.250530"], ["updated_at", "2016-03-11 01:40:16.250530"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:16.266342"], ["updated_at", "2016-03-11 01:40:16.266342"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:16.279993"], ["updated_at", "2016-03-11 01:40:16.279993"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 [1m[35mMtdevise::Account Load (0.6ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test12"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test12"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test12"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test12"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (66.0ms) Completed 500 Internal Server Error in 75ms (ActiveRecord: 0.2ms) [1m[35m (12.4ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[35m (9.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.1ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (52.4ms) Completed 500 Internal Server Error in 59ms (ActiveRecord: 0.0ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.7ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.3ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.0ms) [1m[35m (9.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "7NtEbTwgxwkkrqQnuKgF"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$IkUMHKdLVjU2aiQRBOdXQ.389FKpxQiaNJEORpqeERM7tHC5VwbXG"], ["confirmed_at", "2016-03-11 01:40:16.740641"], ["authentication_token", "7NtEbTwgxwkkrqQnuKgF"], ["created_at", "2016-03-11 01:40:16.744046"], ["updated_at", "2016-03-11 01:40:16.744046"]] [1m[35m (9.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:16.783557"], ["current_sign_in_at", "2016-03-11 01:40:16.783557"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:16.784359"], ["id", 1]] [1m[35m (12.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 12.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:16 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (43.8ms) Completed 500 Internal Server Error in 50ms (ActiveRecord: 0.5ms) [1m[36m (11.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "-bzCYCLop5ovETvDZHbi"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$tNvfMl0avdSwqVtxSciVfeYryd457w5Quza5xeN/9bm7YEb3l7AHG"], ["confirmed_at", "2016-03-11 01:40:17.034362"], ["authentication_token", "-bzCYCLop5ovETvDZHbi"], ["created_at", "2016-03-11 01:40:17.045912"], ["updated_at", "2016-03-11 01:40:17.045912"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:17.061322"], ["updated_at", "2016-03-11 01:40:17.061322"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:17.074055"], ["updated_at", "2016-03-11 01:40:17.074055"]] [1m[35m (10.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test18@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:17.149489"], ["current_sign_in_at", "2016-03-11 01:40:17.149489"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:17.150423"], ["id", 1]] [1m[35m (10.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 10.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (45.0ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.4ms) [1m[36m (14.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (53.7ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.0ms) [1m[36m (13.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "xvd-3wg5KDRseoHjFum2"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$mfrfgcyw1xGHkZmkg.Csn.nHms9v.9PALS8CvApghvOKf7Tq80hYm"], ["confirmed_at", "2016-03-11 01:40:17.463041"], ["authentication_token", "xvd-3wg5KDRseoHjFum2"], ["created_at", "2016-03-11 01:40:17.465965"], ["updated_at", "2016-03-11 01:40:17.465965"]] [1m[36m (7.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:17.478318"], ["updated_at", "2016-03-11 01:40:17.478318"]] [1m[36m (6.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:17.488836"], ["updated_at", "2016-03-11 01:40:17.488836"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "zxgFWhUjHb8LKkJ1e8KN"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$AKWmL8mO1T8v19khZ5P.Wu6nVFeb8evgAP963atk3w0i9Ibz0uX5S"], ["confirmed_at", "2016-03-11 01:40:17.501839"], ["authentication_token", "zxgFWhUjHb8LKkJ1e8KN"], ["created_at", "2016-03-11 01:40:17.504262"], ["updated_at", "2016-03-11 01:40:17.504262"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 2], ["created_at", "2016-03-11 01:40:17.518217"], ["updated_at", "2016-03-11 01:40:17.518217"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:40:17.528980"], ["updated_at", "2016-03-11 01:40:17.528980"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:40:17.546846"], ["updated_at", "2016-03-11 01:40:17.546846"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:40:17.558689"], ["updated_at", "2016-03-11 01:40:17.558689"]] [1m[35m (9.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test21@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:17.596506"], ["current_sign_in_at", "2016-03-11 01:40:17.596506"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:17.597417"], ["id", 2]] [1m[35m (9.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (38.6ms) Completed 500 Internal Server Error in 45ms (ActiveRecord: 0.5ms) [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "51xC79R54rcrNzSP4gPc"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$iq.ITraecy3PinXQYbDt.uuQKhWO3onf4NctMsOHxBKjkdYGlL7vO"], ["confirmed_at", "2016-03-11 01:40:17.730228"], ["authentication_token", "51xC79R54rcrNzSP4gPc"], ["created_at", "2016-03-11 01:40:17.732921"], ["updated_at", "2016-03-11 01:40:17.732921"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 01:40:17.747812"], ["updated_at", "2016-03-11 01:40:17.747812"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:40:17.760614"], ["updated_at", "2016-03-11 01:40:17.760614"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "KkibjLgpBDZzLmx2uCHn"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$oiRseKeOE8lhJlvcFoJ82eqBYUIddE3N7td1b53zPwNQLCQoSDG.S"], ["confirmed_at", "2016-03-11 01:40:17.773331"], ["authentication_token", "KkibjLgpBDZzLmx2uCHn"], ["created_at", "2016-03-11 01:40:17.775720"], ["updated_at", "2016-03-11 01:40:17.775720"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 2], ["created_at", "2016-03-11 01:40:17.790555"], ["updated_at", "2016-03-11 01:40:17.790555"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:40:17.801753"], ["updated_at", "2016-03-11 01:40:17.801753"]] [1m[35m (8.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:40:17.812395"], ["updated_at", "2016-03-11 01:40:17.812395"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:40:17.823767"], ["updated_at", "2016-03-11 01:40:17.823767"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test23@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:40:17.858341"], ["current_sign_in_at", "2016-03-11 01:40:17.858341"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:40:17.859314"], ["id", 1]] [1m[35m (9.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 10.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:40:17 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered layouts/phcnotifi/components/_notifications.html.erb (35.1ms) Completed 500 Internal Server Error in 40ms (ActiveRecord: 0.3ms) [1m[36m (10.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.9ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (18.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (14.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (13.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (13.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "V6Bz2EAHxMfyTMsbmzxL"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$TpKoCiNJmeV4tPHTXEThneR0dt2j/JUwnAbzmdspneXPiGTuH8Iou"], ["confirmed_at", "2016-03-11 01:42:48.635655"], ["authentication_token", "V6Bz2EAHxMfyTMsbmzxL"], ["created_at", "2016-03-11 01:42:48.715863"], ["updated_at", "2016-03-11 01:42:48.715863"]] [1m[35m (19.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:48.774829"], ["updated_at", "2016-03-11 01:42:48.774829"]] [1m[35m (13.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:48.881492"], ["updated_at", "2016-03-11 01:42:48.881492"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (257.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (4.2ms) Completed 200 OK in 705ms (Views: 668.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:49 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:49.653214"], ["current_sign_in_at", "2016-03-11 01:42:49.653214"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:49.654263"], ["id", 1]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 49ms (ActiveRecord: 14.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:49 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (3.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (20.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (63.0ms) Completed 500 Internal Server Error in 107ms (ActiveRecord: 3.9ms) [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "1Hac6bKn9vQ7an_P-z6k"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$V8GJ4Po7ipsY25RjkfTIBOL6fBmgkw1.9lw2NtumZg4TuQDCCBXZC"], ["confirmed_at", "2016-03-11 01:42:49.886735"], ["authentication_token", "1Hac6bKn9vQ7an_P-z6k"], ["created_at", "2016-03-11 01:42:49.889674"], ["updated_at", "2016-03-11 01:42:49.889674"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:49.907162"], ["updated_at", "2016-03-11 01:42:49.907162"]] [1m[35m (12.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:49.924783"], ["updated_at", "2016-03-11 01:42:49.924783"]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:49 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:49 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:49.961538"], ["current_sign_in_at", "2016-03-11 01:42:49.961538"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:49.962592"], ["id", 1]] [1m[36m (12.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 13.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:49 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (46.2ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.3ms) [1m[35m (13.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "2B-REkdes55t_2QCZFv5"]] [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$aBlJZsnA9Yc/eb0rHhxZ0ebtQm3MOsWqHnjlOYZSXjLllgpNbHZhC"], ["confirmed_at", "2016-03-11 01:42:50.126499"], ["authentication_token", "2B-REkdes55t_2QCZFv5"], ["created_at", "2016-03-11 01:42:50.130338"], ["updated_at", "2016-03-11 01:42:50.130338"]] [1m[35m (13.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:50.150755"], ["updated_at", "2016-03-11 01:42:50.150755"]] [1m[35m (11.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:50.167162"], ["updated_at", "2016-03-11 01:42:50.167162"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test5@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:50.211100"], ["current_sign_in_at", "2016-03-11 01:42:50.211100"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:50.212478"], ["id", 1]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (53.9ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.4ms) [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "9MNH5jxGsB-TYYfz8y6s"]] [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test7@example.com"], ["encrypted_password", "$2a$04$7GYXXn/IgTGDSzPBjaFzzeEiDXG2AKu1aFRYOwve86IXymbEPbp/K"], ["confirmed_at", "2016-03-11 01:42:50.378772"], ["authentication_token", "9MNH5jxGsB-TYYfz8y6s"], ["created_at", "2016-03-11 01:42:50.382367"], ["updated_at", "2016-03-11 01:42:50.382367"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:50.401030"], ["updated_at", "2016-03-11 01:42:50.401030"]] [1m[35m (12.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:50.417620"], ["updated_at", "2016-03-11 01:42:50.417620"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test7@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:50.474743"], ["current_sign_in_at", "2016-03-11 01:42:50.474743"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:50.475699"], ["id", 1]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 12.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (39.5ms) Completed 500 Internal Server Error in 45ms (ActiveRecord: 0.4ms) [1m[35m (12.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (16.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "gYiJsQvpbZByKqSdWpzx"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test9@example.com"], ["encrypted_password", "$2a$04$GxxJSOOAdW8OYNath1UPNugIniPk0HxhYwbtozxV04oRknmsDjGiK"], ["confirmed_at", "2016-03-11 01:42:50.671311"], ["authentication_token", "gYiJsQvpbZByKqSdWpzx"], ["created_at", "2016-03-11 01:42:50.675125"], ["updated_at", "2016-03-11 01:42:50.675125"]] [1m[35m (17.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:50.701231"], ["updated_at", "2016-03-11 01:42:50.701231"]] [1m[35m (8.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.2ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:50.715263"], ["updated_at", "2016-03-11 01:42:50.715263"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test9@example.com"]] [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:50.806459"], ["current_sign_in_at", "2016-03-11 01:42:50.806459"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:50.808260"], ["id", 1]] [1m[36m (12.5ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 13.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (2.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (60.2ms) Completed 500 Internal Server Error in 71ms (ActiveRecord: 0.6ms) [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:50 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:51 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (85.4ms) Completed 500 Internal Server Error in 96ms (ActiveRecord: 0.0ms) [1m[35m (16.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "XvaoSrJ7zWh1XzhVTXNg"]] [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test11@example.com"], ["encrypted_password", "$2a$04$4Wej4ALlu33RrCoUEcjt4uWYxubMNky1xetQUaJV9AKUgvK8QtFNW"], ["confirmed_at", "2016-03-11 01:42:51.212943"], ["authentication_token", "XvaoSrJ7zWh1XzhVTXNg"], ["created_at", "2016-03-11 01:42:51.218396"], ["updated_at", "2016-03-11 01:42:51.218396"]] [1m[35m (12.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:51.240004"], ["updated_at", "2016-03-11 01:42:51.240004"]] [1m[35m (13.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:51.259931"], ["updated_at", "2016-03-11 01:42:51.259931"]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "AzSC3Ti63mEmhW1t-coH"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$a.ea00I6Dy4G3yl..1Qbku5TgsFN3NI59OjRc5g/dPa/CIfelfWyW"], ["confirmed_at", "2016-03-11 01:42:51.278321"], ["authentication_token", "AzSC3Ti63mEmhW1t-coH"], ["created_at", "2016-03-11 01:42:51.285123"], ["updated_at", "2016-03-11 01:42:51.285123"]] [1m[35m (18.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 2], ["created_at", "2016-03-11 01:42:51.313494"], ["updated_at", "2016-03-11 01:42:51.313494"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:42:51.334833"], ["updated_at", "2016-03-11 01:42:51.334833"]] [1m[36m (13.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:42:51.361781"], ["updated_at", "2016-03-11 01:42:51.361781"]] [1m[35m (19.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:42:51.385347"], ["updated_at", "2016-03-11 01:42:51.385347"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:51 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:51 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test12@example.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:51.443306"], ["current_sign_in_at", "2016-03-11 01:42:51.443306"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:51.444837"], ["id", 2]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 12.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:51 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (59.3ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 0.5ms) [1m[35m (17.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.6ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "qrF6r1oxSRxQLbT7HRLK"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$q.1/2h4vAAgHSunOLNqjk.7cP1W1sxpivlBgOs1MxIM4Spkst2t9y"], ["confirmed_at", "2016-03-11 01:42:51.629982"], ["authentication_token", "qrF6r1oxSRxQLbT7HRLK"], ["created_at", "2016-03-11 01:42:51.634940"], ["updated_at", "2016-03-11 01:42:51.634940"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:51.655025"], ["updated_at", "2016-03-11 01:42:51.655025"]] [1m[35m (15.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:51.678070"], ["updated_at", "2016-03-11 01:42:51.678070"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "JbBwsYRr7-2CErU_Tkho"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test15@example.com"], ["encrypted_password", "$2a$04$otCcZAcd2PBtcCDerqw5DecYTY/kA1PNywyF0iGyA7PFFwedzw3E6"], ["confirmed_at", "2016-03-11 01:42:51.694461"], ["authentication_token", "JbBwsYRr7-2CErU_Tkho"], ["created_at", "2016-03-11 01:42:51.698092"], ["updated_at", "2016-03-11 01:42:51.698092"]] [1m[35m (10.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 2], ["created_at", "2016-03-11 01:42:51.716363"], ["updated_at", "2016-03-11 01:42:51.716363"]] [1m[35m (11.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:42:51.734699"], ["updated_at", "2016-03-11 01:42:51.734699"]] [1m[36m (13.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:42:51.754237"], ["updated_at", "2016-03-11 01:42:51.754237"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:42:51.769054"], ["updated_at", "2016-03-11 01:42:51.769054"]] [1m[36m (8.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:51 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (3.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (8.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 37ms (Views: 34.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:51 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test14@example.com"]] [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:51.854743"], ["current_sign_in_at", "2016-03-11 01:42:51.854743"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:51.856296"], ["id", 1]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 29ms (ActiveRecord: 13.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:51 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (2.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (66.8ms) Completed 500 Internal Server Error in 79ms (ActiveRecord: 0.5ms) [1m[35m (11.9ms)[0m DELETE FROM "things"; [1m[36m (1.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (13.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "hsjiW7-JziyWmQjzdmgr"]] [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$TX07pbxMosdF1KppaPjqsuQFVbu.wk9UokLrC.WLf0YIo8yvm4s3a"], ["confirmed_at", "2016-03-11 01:42:52.104180"], ["authentication_token", "hsjiW7-JziyWmQjzdmgr"], ["created_at", "2016-03-11 01:42:52.109097"], ["updated_at", "2016-03-11 01:42:52.109097"]] [1m[35m (14.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:42:52.166103"], ["current_sign_in_at", "2016-03-11 01:42:52.166103"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:52.167695"], ["id", 1]] [1m[35m (13.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 26ms (ActiveRecord: 14.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (61.5ms) Completed 500 Internal Server Error in 72ms (ActiveRecord: 0.5ms) [1m[36m (12.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (13.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (1.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (59.2ms) Completed 500 Internal Server Error in 75ms (ActiveRecord: 0.0ms) [1m[36m (15.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[36m (13.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (1.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (13.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 0.0ms) [1m[36m (11.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "NRqsRrvyze7RCPzHNnRR"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test17@example.com"], ["encrypted_password", "$2a$04$0RsTU6OId907pUPqC5QtGOoHmgObTeMvIm/YhVZXCiSVPGYbJFN7S"], ["confirmed_at", "2016-03-11 01:42:52.703783"], ["authentication_token", "NRqsRrvyze7RCPzHNnRR"], ["created_at", "2016-03-11 01:42:52.706767"], ["updated_at", "2016-03-11 01:42:52.706767"]] [1m[36m (93.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:52.808060"], ["updated_at", "2016-03-11 01:42:52.808060"]] [1m[36m (12.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:52.825095"], ["updated_at", "2016-03-11 01:42:52.825095"]] [1m[35m (12.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:52 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (60.3ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 0.1ms) [1m[36m (13.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "DDgjtfePdyt8sijkTUnM"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$95WWf5En6ub9mv0.CoONQ.Fasfe0bFS1xStWTtEcOyydGJlye1uJm"], ["confirmed_at", "2016-03-11 01:42:53.005791"], ["authentication_token", "DDgjtfePdyt8sijkTUnM"], ["created_at", "2016-03-11 01:42:53.009301"], ["updated_at", "2016-03-11 01:42:53.009301"]] [1m[36m (12.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:53.029730"], ["updated_at", "2016-03-11 01:42:53.029730"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.3ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:53.045283"], ["updated_at", "2016-03-11 01:42:53.045283"]] [1m[35m (12.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test11"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test11"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test11"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test11"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (130.7ms) Completed 500 Internal Server Error in 141ms (ActiveRecord: 0.2ms) [1m[36m (14.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "--PcRsdRsB2kXe6p1nuy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$EM5pkyYSAjrToNrhAmt4JOfjEHhjq3aTuShhjMJLy0bkNqvW.7LIu"], ["confirmed_at", "2016-03-11 01:42:53.286193"], ["authentication_token", "--PcRsdRsB2kXe6p1nuy"], ["created_at", "2016-03-11 01:42:53.289525"], ["updated_at", "2016-03-11 01:42:53.289525"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:53.306837"], ["updated_at", "2016-03-11 01:42:53.306837"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:53.322246"], ["updated_at", "2016-03-11 01:42:53.322246"]] [1m[35m (11.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "yXsz_zsDQ66Uz8hdGxaA"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$./8syKJqIK5H5SVrvF7NLORHdHRlKJdr/YquenWtYQjRYPq3sPMru"], ["confirmed_at", "2016-03-11 01:42:53.338279"], ["authentication_token", "yXsz_zsDQ66Uz8hdGxaA"], ["created_at", "2016-03-11 01:42:53.341363"], ["updated_at", "2016-03-11 01:42:53.341363"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 2], ["created_at", "2016-03-11 01:42:53.358102"], ["updated_at", "2016-03-11 01:42:53.358102"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:42:53.370614"], ["updated_at", "2016-03-11 01:42:53.370614"]] [1m[35m (10.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test12"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test12"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (69.6ms) Completed 500 Internal Server Error in 77ms (ActiveRecord: 0.1ms) [1m[36m (12.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Wxyg6_W8t8DxRKA7vex7"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$J7esTsqoaG303ryzfWFvO.MssVJ7oxMD4xB1D7A2E4QsJoYG9n.uW"], ["confirmed_at", "2016-03-11 01:42:53.545564"], ["authentication_token", "Wxyg6_W8t8DxRKA7vex7"], ["created_at", "2016-03-11 01:42:53.548922"], ["updated_at", "2016-03-11 01:42:53.548922"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:53.565433"], ["updated_at", "2016-03-11 01:42:53.565433"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:53.580621"], ["updated_at", "2016-03-11 01:42:53.580621"]] [1m[35m (11.5ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (53.8ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.2ms) [1m[36m (12.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (14.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (34.4ms) Completed 500 Internal Server Error in 60ms (ActiveRecord: 1.5ms) [1m[36m (13.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "QgRiizEeouGR7-RzyJYy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$Ylao3Acq8FqV3aM4lc3T1OGtiWUM8FRH8TckiDUKiw2nDP4SuZIaG"], ["confirmed_at", "2016-03-11 01:42:53.928011"], ["authentication_token", "QgRiizEeouGR7-RzyJYy"], ["created_at", "2016-03-11 01:42:53.930870"], ["updated_at", "2016-03-11 01:42:53.930870"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:53.947260"], ["updated_at", "2016-03-11 01:42:53.947260"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:53.962253"], ["updated_at", "2016-03-11 01:42:53.962253"]] [1m[35m (10.5ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:42:53 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:42:54 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (31.7ms) Completed 500 Internal Server Error in 54ms (ActiveRecord: 1.9ms) [1m[36m (12.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 01:42:54.148513"], ["updated_at", "2016-03-11 01:42:54.148513"]] [1m[35m (13.1ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:54 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:42:54 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:42:54 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (28.0ms) Completed 500 Internal Server Error in 49ms (ActiveRecord: 1.6ms) [1m[36m (12.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:54 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:42:54 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (12.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (16.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:42:54 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (2.0ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "5XY7yMtaWvWiBXjTxS_b"]] [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "3a6ae0f0d4cbba20e3ea2b8d6eb592a2d03b746da0ee5772714d81841c41b166"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$uvUDejfAsjS8CzXsA/8bG.5kzTy7cTDadARK/fqhUEkbugu899xDK"], ["authentication_token", "5XY7yMtaWvWiBXjTxS_b"], ["created_at", "2016-03-11 01:42:54.375867"], ["updated_at", "2016-03-11 01:42:54.375867"], ["confirmation_token", "tdksQTZ_WpUAPrqxcpux"], ["confirmation_sent_at", "2016-03-11 01:42:54.591320"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.9ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 526.3ms Sent mail to mtdevise@example.com (31.4ms) Date: Fri, 11 Mar 2016 01:42:55 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e2229f294fa_cd89710f8963d9@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:55.182724"], ["updated_at", "2016-03-11 01:42:55.182724"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:55.198823"], ["updated_at", "2016-03-11 01:42:55.198823"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:42:55.210696"], ["updated_at", "2016-03-11 01:42:55.211443"], ["id", 1]] [1m[35m (20.3ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:42:55.240297"], ["current_sign_in_at", "2016-03-11 01:42:55.240297"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:55.241270"], ["id", 1]] [1m[35m (7.8ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 890ms (ActiveRecord: 56.0ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:55 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (42.2ms) Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.3ms) [1m[35m (13.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:42:55 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:42:55 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:42:55 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:55.756456"], ["updated_at", "2016-03-11 01:42:55.756456"]] [1m[35m (11.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:55.773554"], ["updated_at", "2016-03-11 01:42:55.773554"]] [1m[36m (6.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:42:55.782787"], ["updated_at", "2016-03-11 01:42:55.783576"], ["id", 1]] [1m[35m (9.4ms)[0m commit transaction [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (6.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "WjXCAhFyfJbsxwvTRsXr"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test23@example.com"], ["encrypted_password", "$2a$04$8rNx/ivYPNETwb.u33vggOhsScF6ZorXGSyaRDJbCnMp4n05OmmOu"], ["confirmed_at", "2016-03-11 01:42:55.911770"], ["authentication_token", "WjXCAhFyfJbsxwvTRsXr"], ["created_at", "2016-03-11 01:42:55.915441"], ["updated_at", "2016-03-11 01:42:55.915441"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:55.931876"], ["updated_at", "2016-03-11 01:42:55.931876"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:55.945576"], ["updated_at", "2016-03-11 01:42:55.945576"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:55 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:55 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test23@example.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:42:55.987013"], ["current_sign_in_at", "2016-03-11 01:42:55.987013"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:42:55.988454"], ["id", 1]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:42:56 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (61.4ms) Completed 500 Internal Server Error in 68ms (ActiveRecord: 0.4ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "yxtGYdLv8M-CA9tJUiqf"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test25@example.com"], ["encrypted_password", "$2a$04$AUA3F678W8T1L9dQhouMf.nsZZvyMe5lB2LQbEshQT83KSuw8YIaS"], ["confirmed_at", "2016-03-11 01:42:56.143297"], ["authentication_token", "yxtGYdLv8M-CA9tJUiqf"], ["created_at", "2016-03-11 01:42:56.146510"], ["updated_at", "2016-03-11 01:42:56.146510"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-11 01:42:56.161857"], ["updated_at", "2016-03-11 01:42:56.161857"]] [1m[35m (8.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:42:56.174355"], ["updated_at", "2016-03-11 01:42:56.174355"]] [1m[36m (7.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:56 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:42:56 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test25@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (82.5ms) Completed 500 Internal Server Error in 91ms (ActiveRecord: 0.0ms) [1m[36m (10.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (13.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:11 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (11.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.9ms) Completed 200 OK in 17724ms (Views: 17687.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (4.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (291.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 383ms (Views: 321.0ms | ActiveRecord: 1.0ms) [1m[35m (15.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:29 +0000 [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:29 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (42.8ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.0ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (3.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (34.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 93ms (Views: 51.7ms | ActiveRecord: 0.0ms) [1m[35m (11.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "JjqpUgsGwsWhPxBWpr-Q"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$w3KwRQDpGkg.zyXBvdvoyOjveGYy6cbsBSclxdW.di6yOrHomzKXq"], ["confirmed_at", "2016-03-11 01:44:30.197271"], ["authentication_token", "JjqpUgsGwsWhPxBWpr-Q"], ["created_at", "2016-03-11 01:44:30.252652"], ["updated_at", "2016-03-11 01:44:30.252652"]] [1m[35m (12.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.6ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:30.320163"], ["current_sign_in_at", "2016-03-11 01:44:30.320163"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:30.321500"], ["id", 1]] [1m[35m (11.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 44ms (ActiveRecord: 13.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (10.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (46.9ms) Completed 500 Internal Server Error in 104ms (ActiveRecord: 0.7ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "jfXB4re35TwiVs2x4G5j"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$5uLM3wEy0./MyAJz/X1pROEFMqYIZ5zoBCTTnyA85Al1VlOmqKf0e"], ["confirmed_at", "2016-03-11 01:44:30.555035"], ["authentication_token", "jfXB4re35TwiVs2x4G5j"], ["created_at", "2016-03-11 01:44:30.558850"], ["updated_at", "2016-03-11 01:44:30.558850"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:30.575040"], ["updated_at", "2016-03-11 01:44:30.575040"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:30.629780"], ["updated_at", "2016-03-11 01:44:30.629780"]] [1m[35m (11.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test1@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (119.9ms) Completed 500 Internal Server Error in 130ms (ActiveRecord: 0.0ms) [1m[35m (21.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (15.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (14.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (14.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "WHmHdgx5-LHw_o2DALKN"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test2@example.com"], ["encrypted_password", "$2a$04$nSW.ERtM/gNU/CQN5RzuQuGv5JW36vHdD4Wvi5F6aPIjbF81l/orO"], ["confirmed_at", "2016-03-11 01:44:30.905040"], ["authentication_token", "WHmHdgx5-LHw_o2DALKN"], ["created_at", "2016-03-11 01:44:30.909959"], ["updated_at", "2016-03-11 01:44:30.909959"]] [1m[35m (10.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:30.926101"], ["updated_at", "2016-03-11 01:44:30.926101"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:30.937355"], ["updated_at", "2016-03-11 01:44:30.937355"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test2@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:44:30.973944"], ["current_sign_in_at", "2016-03-11 01:44:30.973944"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:30.974809"], ["id", 1]] [1m[36m (19.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 28ms (ActiveRecord: 20.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (64.7ms) Completed 500 Internal Server Error in 73ms (ActiveRecord: 0.3ms) [1m[35m (15.8ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (17.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (21.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (18.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (13.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35m (0.3ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (34.3ms) Completed 500 Internal Server Error in 65ms (ActiveRecord: 2.0ms) [1m[35m (15.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (13.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (1.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 01:44:31.413129"], ["updated_at", "2016-03-11 01:44:31.413129"]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (7.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (35.2ms) Completed 500 Internal Server Error in 78ms (ActiveRecord: 2.6ms) [1m[35m (24.9ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:44:31 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:32.572072"], ["updated_at", "2016-03-11 01:44:32.572072"]] [1m[36m (18.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:32.602478"], ["updated_at", "2016-03-11 01:44:32.602478"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 01:44:32.614155"], ["updated_at", "2016-03-11 01:44:32.614864"], ["id", 1]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:44:32.632995"], ["current_sign_in_at", "2016-03-11 01:44:32.632995"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:32.634138"], ["id", 1]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 804ms (ActiveRecord: 52.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:32 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (47.7ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.3ms) [1m[36m (12.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "LEKnvYwZs71FkaBRJymg"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$hLzEjwnKfOhCOx5b6WFiP.JrTgUCvpXhjAVdSVfHsGaxmLnZQ56Qy"], ["confirmed_at", "2016-03-11 01:44:32.783588"], ["authentication_token", "LEKnvYwZs71FkaBRJymg"], ["created_at", "2016-03-11 01:44:32.786475"], ["updated_at", "2016-03-11 01:44:32.786475"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:32.805954"], ["updated_at", "2016-03-11 01:44:32.805954"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:32.821792"], ["updated_at", "2016-03-11 01:44:32.821792"]] [1m[35m (10.1ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:32 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:44:32 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:44:32 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (35.7ms) Completed 500 Internal Server Error in 60ms (ActiveRecord: 1.8ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "_5AoxPRutqQUxKsYrpMX"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$/DY5ENG5gYh2eSqtiiU5T.nU9AwEnH9fJ9wPF7J84a1Q70nqyNKVO"], ["confirmed_at", "2016-03-11 01:44:33.002397"], ["authentication_token", "_5AoxPRutqQUxKsYrpMX"], ["created_at", "2016-03-11 01:44:33.005364"], ["updated_at", "2016-03-11 01:44:33.005364"]] [1m[36m (11.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:44:33.043111"], ["current_sign_in_at", "2016-03-11 01:44:33.043111"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:33.044391"], ["id", 1]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (69.7ms) Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.4ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "21H6L-EZmjhkos78xxq9"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "a95dbba3dffb2383b7405375f78493ebe45ccd0e8170baaa5dae76ef8618ee85"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "user@example.com"], ["encrypted_password", "$2a$04$6Vb6TOYAtirX.UVP2d2E5erCtOdgkvMD1epROV4xQwhHhE2R/pona"], ["authentication_token", "21H6L-EZmjhkos78xxq9"], ["created_at", "2016-03-11 01:44:33.233029"], ["updated_at", "2016-03-11 01:44:33.233029"], ["confirmation_token", "tdDbDZHF7NHXSBJqTyj-"], ["confirmation_sent_at", "2016-03-11 01:44:33.234033"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (4.1ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 6.1ms Sent mail to user@example.com (2.9ms) Date: Fri, 11 Mar 2016 01:44:33 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e223013b5b6_cf69a30f8666d@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.1ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:33.245362"], ["updated_at", "2016-03-11 01:44:33.245362"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:33.260621"], ["updated_at", "2016-03-11 01:44:33.260621"]] [1m[35m (8.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 01:44:33.270811"], ["updated_at", "2016-03-11 01:44:33.274520"], ["id", 1]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (8.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Ht8zw2PT1pCea8ZDM93d"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$JJq1wP017GV8tkJF3rptD.nL5bpc/S5Kj8F4uuOwTjQrE8oEcBAP2"], ["confirmed_at", "2016-03-11 01:44:33.398055"], ["authentication_token", "Ht8zw2PT1pCea8ZDM93d"], ["created_at", "2016-03-11 01:44:33.400992"], ["updated_at", "2016-03-11 01:44:33.400992"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:33.417425"], ["updated_at", "2016-03-11 01:44:33.417425"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:33.430525"], ["updated_at", "2016-03-11 01:44:33.430525"]] [1m[35m (7.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test5@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:33.468124"], ["current_sign_in_at", "2016-03-11 01:44:33.468124"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:33.469579"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (58.3ms) Completed 500 Internal Server Error in 68ms (ActiveRecord: 0.5ms) [1m[36m (9.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "migwX23KfoX8zdiX4i8H"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$y9owmKYMEqiSY1MAa2Hfx.Ul/YGi0SZQoc9vkrmq6EoOMBI1TmfYa"], ["confirmed_at", "2016-03-11 01:44:33.630578"], ["authentication_token", "migwX23KfoX8zdiX4i8H"], ["created_at", "2016-03-11 01:44:33.634442"], ["updated_at", "2016-03-11 01:44:33.634442"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:33.651219"], ["updated_at", "2016-03-11 01:44:33.651219"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:33.664671"], ["updated_at", "2016-03-11 01:44:33.664671"]] [1m[35m (12.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test7@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:33.708399"], ["current_sign_in_at", "2016-03-11 01:44:33.708399"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:33.709339"], ["id", 1]] [1m[35m (10.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 11.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (44.3ms) Completed 500 Internal Server Error in 50ms (ActiveRecord: 0.4ms) [1m[36m (12.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "-R4Q7RB9fqWMvhXTiDxq"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$XJ6vh3c5TqT4MagJ4.ru/.Aoc.9rYfrQCMmC8vJzlZRrJiyp1Oi16"], ["confirmed_at", "2016-03-11 01:44:33.849852"], ["authentication_token", "-R4Q7RB9fqWMvhXTiDxq"], ["created_at", "2016-03-11 01:44:33.852953"], ["updated_at", "2016-03-11 01:44:33.852953"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:33.867864"], ["updated_at", "2016-03-11 01:44:33.867864"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:33.880677"], ["updated_at", "2016-03-11 01:44:33.880677"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test9@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:33.919752"], ["current_sign_in_at", "2016-03-11 01:44:33.919752"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:33.920627"], ["id", 1]] [1m[35m (11.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:33 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (77.8ms) Completed 500 Internal Server Error in 84ms (ActiveRecord: 0.5ms) [1m[36m (11.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Ub_1tkaUy8Ttf-znD_Nh"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$4xHeOdSMNeJoljvcNx12vOeyML8ixR2qt3xMU7Yf4ZkE.EANQffBO"], ["confirmed_at", "2016-03-11 01:44:34.099903"], ["authentication_token", "Ub_1tkaUy8Ttf-znD_Nh"], ["created_at", "2016-03-11 01:44:34.104387"], ["updated_at", "2016-03-11 01:44:34.104387"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:34.120800"], ["updated_at", "2016-03-11 01:44:34.120800"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:34.136542"], ["updated_at", "2016-03-11 01:44:34.136542"]] [1m[35m (19.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test11@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:34.193128"], ["current_sign_in_at", "2016-03-11 01:44:34.193128"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:34.194460"], ["id", 1]] [1m[35m (11.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (46.1ms) Completed 500 Internal Server Error in 53ms (ActiveRecord: 0.4ms) [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "oDWjN5SJTQvweQ7HvmsQ"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$klJ7fbKm4tk95.iRnLNeWeh9sfzgjogVeH5moDsZzgXC3uJFh4WA2"], ["confirmed_at", "2016-03-11 01:44:34.462043"], ["authentication_token", "oDWjN5SJTQvweQ7HvmsQ"], ["created_at", "2016-03-11 01:44:34.466857"], ["updated_at", "2016-03-11 01:44:34.466857"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:34.486029"], ["updated_at", "2016-03-11 01:44:34.486029"]] [1m[36m (12.9ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:34.507226"], ["updated_at", "2016-03-11 01:44:34.507226"]] [1m[35m (13.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test13@example.com"]] [1m[35m (0.3ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:34.560069"], ["current_sign_in_at", "2016-03-11 01:44:34.560069"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:34.561274"], ["id", 1]] [1m[35m (11.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (71.9ms) Completed 500 Internal Server Error in 82ms (ActiveRecord: 0.4ms) [1m[36m (11.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (15.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:34 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (6.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (68.6ms) Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.0ms) [1m[36m (11.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (14.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (16.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (14.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "mk5SM7mYYifZRCB7-A1G"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$cN7pvPWBJjShxp30LHSx/e3AE9DO6NsHgIREOku4N.yk9GjPf1Bm2"], ["confirmed_at", "2016-03-11 01:44:34.978418"], ["authentication_token", "mk5SM7mYYifZRCB7-A1G"], ["created_at", "2016-03-11 01:44:34.982460"], ["updated_at", "2016-03-11 01:44:34.982460"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:35.000460"], ["updated_at", "2016-03-11 01:44:35.000460"]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:35.017187"], ["updated_at", "2016-03-11 01:44:35.017187"]] [1m[35m (10.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test9"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test9"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (94.5ms) Completed 500 Internal Server Error in 102ms (ActiveRecord: 0.2ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "vF5Ni3HvQmK88C3GMwdG"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$2D.AmbSGPxFxeEG7VxbvD.JZSeWX91DQ7WzoNyimSDxBkk2K0vE.6"], ["confirmed_at", "2016-03-11 01:44:35.220704"], ["authentication_token", "vF5Ni3HvQmK88C3GMwdG"], ["created_at", "2016-03-11 01:44:35.225240"], ["updated_at", "2016-03-11 01:44:35.225240"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:35.241851"], ["updated_at", "2016-03-11 01:44:35.241851"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:35.254050"], ["updated_at", "2016-03-11 01:44:35.254050"]] [1m[35m (8.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (68.7ms) Completed 500 Internal Server Error in 77ms (ActiveRecord: 0.2ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "sUC6vPtNm4yD-Vd1-9Ro"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test17@example.com"], ["encrypted_password", "$2a$04$Xkg3A3HB3kLLrbVEBdw3J.ro5ZZCGHdePEhjBnwhV.40zP.TMv8/O"], ["confirmed_at", "2016-03-11 01:44:35.424585"], ["authentication_token", "sUC6vPtNm4yD-Vd1-9Ro"], ["created_at", "2016-03-11 01:44:35.429475"], ["updated_at", "2016-03-11 01:44:35.429475"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:35.446683"], ["updated_at", "2016-03-11 01:44:35.446683"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:35.461641"], ["updated_at", "2016-03-11 01:44:35.461641"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test11"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test11"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.9ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test11"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test11"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (6.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (98.9ms) Completed 500 Internal Server Error in 114ms (ActiveRecord: 0.2ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "s1jf-urgApjFZ1dzKWxD"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$7M1RNEhxVsphcbi/.L/17OPj.aU0QIoAJjoEYTaFLyI3bmE09YuEq"], ["confirmed_at", "2016-03-11 01:44:35.675942"], ["authentication_token", "s1jf-urgApjFZ1dzKWxD"], ["created_at", "2016-03-11 01:44:35.680505"], ["updated_at", "2016-03-11 01:44:35.680505"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:35.700850"], ["updated_at", "2016-03-11 01:44:35.700850"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:35.718772"], ["updated_at", "2016-03-11 01:44:35.718772"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "gWLFNfE5BzKJhj_GrbEo"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$VcImx79Ju/kq6vRoN4c9uOQC736gSI8TEXWaO37Epiv7ZKlfBoqBK"], ["confirmed_at", "2016-03-11 01:44:35.734440"], ["authentication_token", "gWLFNfE5BzKJhj_GrbEo"], ["created_at", "2016-03-11 01:44:35.738616"], ["updated_at", "2016-03-11 01:44:35.738616"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 2], ["created_at", "2016-03-11 01:44:35.757019"], ["updated_at", "2016-03-11 01:44:35.757019"]] [1m[36m (8.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:44:35.771384"], ["updated_at", "2016-03-11 01:44:35.771384"]] [1m[35m (9.2ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test12"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:35 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test12"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (74.3ms) Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.3ms) [1m[36m (21.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "HDJPQsMSNUgug9mYdN7a"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$phF0yk/U7sgZAHEXcRO30eWY2jhPXcPO6A1nVtZwgsGzK.K606h52"], ["confirmed_at", "2016-03-11 01:44:36.012909"], ["authentication_token", "HDJPQsMSNUgug9mYdN7a"], ["created_at", "2016-03-11 01:44:36.019136"], ["updated_at", "2016-03-11 01:44:36.019136"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:36.039833"], ["updated_at", "2016-03-11 01:44:36.039833"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:36.056313"], ["updated_at", "2016-03-11 01:44:36.056313"]] [1m[35m (12.7ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "YRdXS48FN8ZKzzJcubFB"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$VWdjriWdqqTMP9nAi10aN.hKFMqXiYOLEHCIPTKnlgQpj2b84NJWy"], ["confirmed_at", "2016-03-11 01:44:36.075182"], ["authentication_token", "YRdXS48FN8ZKzzJcubFB"], ["created_at", "2016-03-11 01:44:36.080062"], ["updated_at", "2016-03-11 01:44:36.080062"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 2], ["created_at", "2016-03-11 01:44:36.099560"], ["updated_at", "2016-03-11 01:44:36.099560"]] [1m[36m (12.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:44:36.118650"], ["updated_at", "2016-03-11 01:44:36.118650"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:44:36.142065"], ["updated_at", "2016-03-11 01:44:36.142065"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:44:36.155405"], ["updated_at", "2016-03-11 01:44:36.155405"]] [1m[35m (10.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:36 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:36 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test21@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:36.212178"], ["current_sign_in_at", "2016-03-11 01:44:36.212178"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:36.213703"], ["id", 2]] [1m[35m (13.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 28ms (ActiveRecord: 14.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:36 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (78.3ms) Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.4ms) [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "MvWi39puDxTHxnZ32X1N"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$wGPFT58K7KH4FGbLKUYzaeyQO2rod8wqRNYcNsDo1ji2ZKWoT6zzS"], ["confirmed_at", "2016-03-11 01:44:36.406798"], ["authentication_token", "MvWi39puDxTHxnZ32X1N"], ["created_at", "2016-03-11 01:44:36.411215"], ["updated_at", "2016-03-11 01:44:36.411215"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.4ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 01:44:36.434748"], ["updated_at", "2016-03-11 01:44:36.434748"]] [1m[36m (12.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:44:36.453238"], ["updated_at", "2016-03-11 01:44:36.453238"]] [1m[35m (8.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "1YHh-zaG9YWTGyznaEHi"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$hKf3pHv1jFtErGYAp.BGoOfGtoCcZl2ilI6BOr4lLJAL.tomngAs."], ["confirmed_at", "2016-03-11 01:44:36.467934"], ["authentication_token", "1YHh-zaG9YWTGyznaEHi"], ["created_at", "2016-03-11 01:44:36.472860"], ["updated_at", "2016-03-11 01:44:36.472860"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 2], ["created_at", "2016-03-11 01:44:36.494279"], ["updated_at", "2016-03-11 01:44:36.494279"]] [1m[36m (12.2ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:44:36.515360"], ["updated_at", "2016-03-11 01:44:36.515360"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:44:36.532166"], ["updated_at", "2016-03-11 01:44:36.532166"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:44:36.547826"], ["updated_at", "2016-03-11 01:44:36.547826"]] [1m[35m (11.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:36 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:44:36 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test23@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:44:36.590092"], ["current_sign_in_at", "2016-03-11 01:44:36.590092"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:44:36.591037"], ["id", 1]] [1m[35m (10.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:44:36 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (53.9ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.4ms) [1m[36m (14.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (14.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "z2zxouw92h2CoX3cBS1x"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$5Jqyhjg0Kzk1y02tIBP1ru6aTH.hJ0eUxyVOy7X5FITF9ThT2QuoG"], ["confirmed_at", "2016-03-11 01:47:01.378763"], ["authentication_token", "z2zxouw92h2CoX3cBS1x"], ["created_at", "2016-03-11 01:47:01.480711"], ["updated_at", "2016-03-11 01:47:01.480711"]] [1m[35m (27.7ms)[0m commit transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:01.551041"], ["updated_at", "2016-03-11 01:47:01.551041"]] [1m[35m (12.1ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:01.667633"], ["updated_at", "2016-03-11 01:47:01.667633"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (3.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (312.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (1.5ms) Completed 200 OK in 836ms (Views: 800.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:47:02.573981"], ["current_sign_in_at", "2016-03-11 01:47:02.573981"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:02.575511"], ["id", 1]] [1m[36m (12.6ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 65ms (ActiveRecord: 13.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.6ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (12.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (48.3ms) Completed 500 Internal Server Error in 94ms (ActiveRecord: 1.1ms) [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:02 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (61.5ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 0.0ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (13.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.6ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "aURtMST2ca4QgQTzMGm9"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$umciVZrktionwbRDPJJ8y.OoJGiMGJ5XDlXfI2k5e4FqxZ3sxYJhm"], ["confirmed_at", "2016-03-11 01:47:03.073126"], ["authentication_token", "aURtMST2ca4QgQTzMGm9"], ["created_at", "2016-03-11 01:47:03.076638"], ["updated_at", "2016-03-11 01:47:03.076638"]] [1m[35m (12.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:03.116595"], ["current_sign_in_at", "2016-03-11 01:47:03.116595"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:03.117529"], ["id", 1]] [1m[35m (9.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (71.4ms) Completed 500 Internal Server Error in 78ms (ActiveRecord: 0.5ms) [1m[36m (12.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 01:47:03.269064"], ["updated_at", "2016-03-11 01:47:03.269064"]] [1m[35m (11.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (2.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (56.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 67ms (Views: 64.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.5ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (36.9ms) Completed 500 Internal Server Error in 68ms (ActiveRecord: 1.9ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:47:03 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:04.908338"], ["updated_at", "2016-03-11 01:47:04.908338"]] [1m[35m (12.0ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:04.927008"], ["updated_at", "2016-03-11 01:47:04.927008"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:47:04.939614"], ["updated_at", "2016-03-11 01:47:04.940641"], ["id", 1]] [1m[35m (8.6ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:04.958155"], ["current_sign_in_at", "2016-03-11 01:47:04.958155"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:04.959186"], ["id", 1]] [1m[35m (9.5ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 811ms (ActiveRecord: 44.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:04 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (43.2ms) Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.6ms) [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "n2gPzb3sX_--RyRf55bF"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@example.com"], ["encrypted_password", "$2a$04$M2CojsU2Ow5.48.EOt5KXe2tNgy0Ci8oqOeyS36pEVptn3.YrVM8."], ["confirmed_at", "2016-03-11 01:47:05.158453"], ["authentication_token", "n2gPzb3sX_--RyRf55bF"], ["created_at", "2016-03-11 01:47:05.162426"], ["updated_at", "2016-03-11 01:47:05.162426"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:05.180132"], ["updated_at", "2016-03-11 01:47:05.180132"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:05.194756"], ["updated_at", "2016-03-11 01:47:05.194756"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "11LCBy2taRkTDGybm7ND"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$YTtsd5DxAvWkF2SFI3Z.auqkoEDqAg8XxWJOV9NKsdIbu/hO0DcgO"], ["confirmed_at", "2016-03-11 01:47:05.208700"], ["authentication_token", "11LCBy2taRkTDGybm7ND"], ["created_at", "2016-03-11 01:47:05.212613"], ["updated_at", "2016-03-11 01:47:05.212613"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 2], ["created_at", "2016-03-11 01:47:05.230572"], ["updated_at", "2016-03-11 01:47:05.230572"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:47:05.242391"], ["updated_at", "2016-03-11 01:47:05.242391"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (73.4ms) Completed 500 Internal Server Error in 83ms (ActiveRecord: 0.2ms) [1m[35m (11.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "wsBvcDdhgS6Q5EYs9jFV"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test6@example.com"], ["encrypted_password", "$2a$04$AExkZKrFJeRWf3RSj/End.c7j9O6oaI.0y2EMNtlPPyA0QeeQS/Vu"], ["confirmed_at", "2016-03-11 01:47:05.426971"], ["authentication_token", "wsBvcDdhgS6Q5EYs9jFV"], ["created_at", "2016-03-11 01:47:05.431500"], ["updated_at", "2016-03-11 01:47:05.431500"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:05.448981"], ["updated_at", "2016-03-11 01:47:05.448981"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:05.462872"], ["updated_at", "2016-03-11 01:47:05.462872"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test5"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test5"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (74.3ms) Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.2ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "mz_pEPUB1sDQFkF8-gpW"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test7@example.com"], ["encrypted_password", "$2a$04$KlcZNjLe5Af3VunjNPmiFeA/GOKKp3ilrmrbR4kv/v0iU8IJ0mw/G"], ["confirmed_at", "2016-03-11 01:47:05.642725"], ["authentication_token", "mz_pEPUB1sDQFkF8-gpW"], ["created_at", "2016-03-11 01:47:05.647695"], ["updated_at", "2016-03-11 01:47:05.647695"]] [1m[35m (11.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:05.679322"], ["updated_at", "2016-03-11 01:47:05.679322"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:05.694574"], ["updated_at", "2016-03-11 01:47:05.694574"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test6"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test6"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test6"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test6"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (57.4ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 0.3ms) [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "SiXxDMxscryv3tzK6xY7"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test8@example.com"], ["encrypted_password", "$2a$04$3RWg828BDmesS19vdoaADeRp58nZkMB2RCA11DSQ2.CuLHF7XFlHy"], ["confirmed_at", "2016-03-11 01:47:05.862950"], ["authentication_token", "SiXxDMxscryv3tzK6xY7"], ["created_at", "2016-03-11 01:47:05.866725"], ["updated_at", "2016-03-11 01:47:05.866725"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:05.883984"], ["updated_at", "2016-03-11 01:47:05.883984"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:05.897651"], ["updated_at", "2016-03-11 01:47:05.897651"]] [1m[36m (7.6ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test7"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test7"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:05 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test7"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (69.3ms) Completed 500 Internal Server Error in 77ms (ActiveRecord: 0.2ms) [1m[35m (12.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.4ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "U9HzfMqq8xoWszD345UZ"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$tkmjYCuOrHhVABKP23zVJuLZIt6A2ppEaqOtSZm0dXx8eGzzQjM/O"], ["confirmed_at", "2016-03-11 01:47:06.113205"], ["authentication_token", "U9HzfMqq8xoWszD345UZ"], ["created_at", "2016-03-11 01:47:06.117848"], ["updated_at", "2016-03-11 01:47:06.117848"]] [1m[35m (10.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:06.169848"], ["current_sign_in_at", "2016-03-11 01:47:06.169848"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:06.171497"], ["id", 1]] [1m[35m (11.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 12.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (45.7ms) Completed 500 Internal Server Error in 53ms (ActiveRecord: 0.5ms) [1m[36m (11.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.9ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (64.6ms) Completed 500 Internal Server Error in 68ms (ActiveRecord: 0.0ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (7.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.4ms | ActiveRecord: 0.0ms) [1m[36m (12.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "GzknJ3vg_DXXCt4ztKh2"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$doy6QzrKMc5vDt4WL6R7/euGp8jH5yliM1pjzN/LKe6o8vnsts3wW"], ["confirmed_at", "2016-03-11 01:47:06.619825"], ["authentication_token", "GzknJ3vg_DXXCt4ztKh2"], ["created_at", "2016-03-11 01:47:06.623217"], ["updated_at", "2016-03-11 01:47:06.623217"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:06.641660"], ["updated_at", "2016-03-11 01:47:06.641660"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:06.657319"], ["updated_at", "2016-03-11 01:47:06.657319"]] [1m[35m (11.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test9@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:06.695687"], ["current_sign_in_at", "2016-03-11 01:47:06.695687"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:06.696572"], ["id", 1]] [1m[35m (10.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (46.0ms) Completed 500 Internal Server Error in 53ms (ActiveRecord: 0.5ms) [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Jyts4mRGrZvoxEu69ctP"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$CD3krBR7sTd5kKDCp2XhHucCINn6uCTij4rwigkXuBUlCHj0Aam0C"], ["confirmed_at", "2016-03-11 01:47:06.839200"], ["authentication_token", "Jyts4mRGrZvoxEu69ctP"], ["created_at", "2016-03-11 01:47:06.843997"], ["updated_at", "2016-03-11 01:47:06.843997"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:06.865469"], ["updated_at", "2016-03-11 01:47:06.865469"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:06.881938"], ["updated_at", "2016-03-11 01:47:06.881938"]] [1m[35m (13.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test11@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:06.934177"], ["current_sign_in_at", "2016-03-11 01:47:06.934177"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:06.936741"], ["id", 1]] [1m[35m (13.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 27ms (ActiveRecord: 14.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:06 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (48.2ms) Completed 500 Internal Server Error in 57ms (ActiveRecord: 0.5ms) [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "bmMuQ1gT9hH5oYRLXzwG"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$TNRDnE2Cpd3GKiLlJw.naO8QXZW3FG3TD7ipCGoNJo0lsNbTBoD/m"], ["confirmed_at", "2016-03-11 01:47:07.091738"], ["authentication_token", "bmMuQ1gT9hH5oYRLXzwG"], ["created_at", "2016-03-11 01:47:07.096492"], ["updated_at", "2016-03-11 01:47:07.096492"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:07.113683"], ["updated_at", "2016-03-11 01:47:07.113683"]] [1m[36m (8.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:07.128337"], ["updated_at", "2016-03-11 01:47:07.128337"]] [1m[35m (12.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test13@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.7ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:07.178661"], ["current_sign_in_at", "2016-03-11 01:47:07.178661"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:07.179990"], ["id", 1]] [1m[35m (11.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 13.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:07 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (86.5ms) Completed 500 Internal Server Error in 96ms (ActiveRecord: 0.5ms) [1m[36m (12.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (13.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "3ysn-rvQPMcQ9eULstik"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$NYMc4iFG7/pWP/Ge9Ww7TOQjxwpylRRiWuyrRmbVfugslqh273uA2"], ["confirmed_at", "2016-03-11 01:47:07.391693"], ["authentication_token", "3ysn-rvQPMcQ9eULstik"], ["created_at", "2016-03-11 01:47:07.396937"], ["updated_at", "2016-03-11 01:47:07.396937"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:07.420896"], ["updated_at", "2016-03-11 01:47:07.420896"]] [1m[36m (14.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:07.443147"], ["updated_at", "2016-03-11 01:47:07.443147"]] [1m[35m (11.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.7ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (2.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test15@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:07.506388"], ["current_sign_in_at", "2016-03-11 01:47:07.506388"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:07.507489"], ["id", 1]] [1m[35m (9.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 12.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:07 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (53.3ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.3ms) [1m[36m (12.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (1.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (14.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (14.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (18.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "WP3xLWzxfsn7sV3UYTxN"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "6c963ffa2c2ffe27893f728b6ea40915cf002ad22515c50925e6255a93fd059a"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "user@example.com"], ["encrypted_password", "$2a$04$kxB9.w1qFEUcsySoRMdK0.CFEBp7Q8X./2anuRrrtBwG.ApIAzCKG"], ["authentication_token", "WP3xLWzxfsn7sV3UYTxN"], ["created_at", "2016-03-11 01:47:07.743021"], ["updated_at", "2016-03-11 01:47:07.743021"], ["confirmation_token", "E9xQoF_D3pzsKmrTgHoY"], ["confirmation_sent_at", "2016-03-11 01:47:07.744254"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (4.0ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 5.8ms Sent mail to user@example.com (2.8ms) Date: Fri, 11 Mar 2016 01:47:07 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e2239bb7fc8_d127f70d8698ca@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:07.755639"], ["updated_at", "2016-03-11 01:47:07.755639"]] [1m[35m (11.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:07.772522"], ["updated_at", "2016-03-11 01:47:07.772522"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:47:07.785843"], ["updated_at", "2016-03-11 01:47:07.786861"], ["id", 1]] [1m[35m (13.2ms)[0m commit transaction [1m[36mMtdevise::User Load (1.0ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (14.8ms)[0m DELETE FROM "things"; [1m[36m (2.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "smT35BcDZHLu3uz3ux75"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test17@example.com"], ["encrypted_password", "$2a$04$4Q5a7nWE2D2223mkp.gfguVbkKtjfQETo84V7esoTklWSWmRjn1yK"], ["confirmed_at", "2016-03-11 01:47:07.947551"], ["authentication_token", "smT35BcDZHLu3uz3ux75"], ["created_at", "2016-03-11 01:47:07.952154"], ["updated_at", "2016-03-11 01:47:07.952154"]] [1m[35m (17.0ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (3.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:07.981624"], ["updated_at", "2016-03-11 01:47:07.981624"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:07.998342"], ["updated_at", "2016-03-11 01:47:07.998342"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (6.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test17@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:47:08.066119"], ["current_sign_in_at", "2016-03-11 01:47:08.066119"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:08.067831"], ["id", 1]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 27ms (ActiveRecord: 13.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (68.5ms) Completed 500 Internal Server Error in 79ms (ActiveRecord: 0.5ms) [1m[35m (22.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (14.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "MxmuerTgL_4exmQyxUJB"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test19@example.com"], ["encrypted_password", "$2a$04$H/CUrupRrtRxvA10m9YUhufqxOciuHS4KpKZ16p6iOlt3a/feWBQ."], ["confirmed_at", "2016-03-11 01:47:08.279661"], ["authentication_token", "MxmuerTgL_4exmQyxUJB"], ["created_at", "2016-03-11 01:47:08.284944"], ["updated_at", "2016-03-11 01:47:08.284944"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:08.306929"], ["updated_at", "2016-03-11 01:47:08.306929"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:08.322517"], ["updated_at", "2016-03-11 01:47:08.322517"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test19@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (118.4ms) Completed 500 Internal Server Error in 129ms (ActiveRecord: 0.0ms) [1m[36m (15.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (13.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (16.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.5ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "sz5axcFB2LodFzXc-osp"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$SKeb0n17gBnx3HfpyXpWiOLc25jk/zvKoV7j/dxTWStt/h49HRnh."], ["confirmed_at", "2016-03-11 01:47:08.628442"], ["authentication_token", "sz5axcFB2LodFzXc-osp"], ["created_at", "2016-03-11 01:47:08.633957"], ["updated_at", "2016-03-11 01:47:08.633957"]] [1m[36m (13.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:08.658152"], ["updated_at", "2016-03-11 01:47:08.658152"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:08.677806"], ["updated_at", "2016-03-11 01:47:08.677806"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "JsECvY83wSzNBvXUk3tp"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$gwptG1Po63NNUsFd9zrJIepUCrdeqppk/SLrulSmahn1bW5LlMn/K"], ["confirmed_at", "2016-03-11 01:47:08.694649"], ["authentication_token", "JsECvY83wSzNBvXUk3tp"], ["created_at", "2016-03-11 01:47:08.700663"], ["updated_at", "2016-03-11 01:47:08.700663"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 2], ["created_at", "2016-03-11 01:47:08.721866"], ["updated_at", "2016-03-11 01:47:08.721866"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:47:08.738643"], ["updated_at", "2016-03-11 01:47:08.738643"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:47:08.782565"], ["updated_at", "2016-03-11 01:47:08.782565"]] [1m[36m (12.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:47:08.800428"], ["updated_at", "2016-03-11 01:47:08.800428"]] [1m[35m (11.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test21@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:08.863852"], ["current_sign_in_at", "2016-03-11 01:47:08.863852"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:08.865227"], ["id", 2]] [1m[35m (10.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 11.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (67.7ms) Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.5ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "v73iWGezKnBxyKiEzCbH"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$lDhbq8xK5RXULqZl8/x7P.eLgouibJjTJ7LRmuD6CnVTPRjeYheGy"], ["confirmed_at", "2016-03-11 01:47:09.049329"], ["authentication_token", "v73iWGezKnBxyKiEzCbH"], ["created_at", "2016-03-11 01:47:09.053366"], ["updated_at", "2016-03-11 01:47:09.053366"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 01:47:09.073708"], ["updated_at", "2016-03-11 01:47:09.073708"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:47:09.090722"], ["updated_at", "2016-03-11 01:47:09.090722"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "z81CcYFfsTkok5ye8-Tf"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$onJUkXwfiQEmx0umX1UcueXl862TUCZ36tOkUXoCh2Lm9NOy4kH4a"], ["confirmed_at", "2016-03-11 01:47:09.106216"], ["authentication_token", "z81CcYFfsTkok5ye8-Tf"], ["created_at", "2016-03-11 01:47:09.110233"], ["updated_at", "2016-03-11 01:47:09.110233"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 2], ["created_at", "2016-03-11 01:47:09.127645"], ["updated_at", "2016-03-11 01:47:09.127645"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:47:09.143598"], ["updated_at", "2016-03-11 01:47:09.143598"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:47:09.158217"], ["updated_at", "2016-03-11 01:47:09.158217"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:47:09.173115"], ["updated_at", "2016-03-11 01:47:09.173115"]] [1m[35m (9.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:09 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:47:09 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.7ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test23@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:47:09.220565"], ["current_sign_in_at", "2016-03-11 01:47:09.220565"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:47:09.221529"], ["id", 1]] [1m[35m (11.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 13.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:47:09 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (62.0ms) Completed 500 Internal Server Error in 71ms (ActiveRecord: 0.4ms) [1m[36m (12.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (15.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xqGpsVwYPGXqyexmirCx"]] [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$j0CG8kXCw.muVzD/KucOZenYavxdgaUQ4vct1aP0BI2ByWPBcAZ62"], ["confirmed_at", "2016-03-11 01:52:00.338094"], ["authentication_token", "xqGpsVwYPGXqyexmirCx"], ["created_at", "2016-03-11 01:52:00.441865"], ["updated_at", "2016-03-11 01:52:00.441865"]] [1m[35m (12.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:00.484528"], ["updated_at", "2016-03-11 01:52:00.484528"]] [1m[35m (13.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:00.583465"], ["updated_at", "2016-03-11 01:52:00.583465"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:00 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (282.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.7ms) Completed 200 OK in 712ms (Views: 682.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:52:01.362008"], ["current_sign_in_at", "2016-03-11 01:52:01.362008"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:01.362868"], ["id", 1]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 57ms (ActiveRecord: 13.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (8.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (40.2ms) Completed 500 Internal Server Error in 73ms (ActiveRecord: 0.7ms) [1m[35m (8.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Mj91t6z4bzYYBe45AqVX"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$W.ClkRp3cuFntCIM08w3eeKqYoMPx.Vzncsop6fXFFy98R7/JABRG"], ["confirmed_at", "2016-03-11 01:52:01.557593"], ["authentication_token", "Mj91t6z4bzYYBe45AqVX"], ["created_at", "2016-03-11 01:52:01.560625"], ["updated_at", "2016-03-11 01:52:01.560625"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:01.575319"], ["updated_at", "2016-03-11 01:52:01.575319"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:01.588873"], ["updated_at", "2016-03-11 01:52:01.588873"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:52:01.623618"], ["current_sign_in_at", "2016-03-11 01:52:01.623618"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:01.624529"], ["id", 1]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 10.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (36.7ms) Completed 500 Internal Server Error in 42ms (ActiveRecord: 0.3ms) [1m[35m (8.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "awiA2JPDMB-LmDs1M_o9"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$8tlogp5M31riswjaq3tHTenH7mov5bpwY1SUGGSMZI08pHgq4jKG."], ["confirmed_at", "2016-03-11 01:52:01.753598"], ["authentication_token", "awiA2JPDMB-LmDs1M_o9"], ["created_at", "2016-03-11 01:52:01.756266"], ["updated_at", "2016-03-11 01:52:01.756266"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:01.770570"], ["updated_at", "2016-03-11 01:52:01.770570"]] [1m[35m (7.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:01.781721"], ["updated_at", "2016-03-11 01:52:01.781721"]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test5@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:52:01.816934"], ["current_sign_in_at", "2016-03-11 01:52:01.816934"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:01.817895"], ["id", 1]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:01 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (61.8ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 0.4ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.3ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "EYHy4rfxNR642rQzzwGX"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test7@example.com"], ["encrypted_password", "$2a$04$RMECDbZjt/2R7SIlC7TmYOUNLCBb9z4rF2OvoFCfUOCyzGToL5U7W"], ["confirmed_at", "2016-03-11 01:52:01.979087"], ["authentication_token", "EYHy4rfxNR642rQzzwGX"], ["created_at", "2016-03-11 01:52:01.982425"], ["updated_at", "2016-03-11 01:52:01.982425"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:01.996930"], ["updated_at", "2016-03-11 01:52:01.996930"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:02.011204"], ["updated_at", "2016-03-11 01:52:02.011204"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test7@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:52:02.047043"], ["current_sign_in_at", "2016-03-11 01:52:02.047043"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:02.048055"], ["id", 1]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 13.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (79.5ms) Completed 500 Internal Server Error in 85ms (ActiveRecord: 0.3ms) [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (6.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "PHzc4BvDyYXkxByDg8ch"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test9@example.com"], ["encrypted_password", "$2a$04$uttttChIt9QN0Y5wWCT38e7C6cs1iKoO2RT2IfU.UdFxBXYvim8n2"], ["confirmed_at", "2016-03-11 01:52:02.259633"], ["authentication_token", "PHzc4BvDyYXkxByDg8ch"], ["created_at", "2016-03-11 01:52:02.263396"], ["updated_at", "2016-03-11 01:52:02.263396"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:02.280614"], ["updated_at", "2016-03-11 01:52:02.280614"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:02.294427"], ["updated_at", "2016-03-11 01:52:02.294427"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test9@example.com"]] Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (56.0ms) Completed 500 Internal Server Error in 65ms (ActiveRecord: 0.0ms) [1m[36m (12.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "FgkCSsa2ppRrCiZVPxGq"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$hNxBgHQ2h2Wdjt6TINpdee5qxHeA.8QDY7Vy81C67yRd9Rk4MP5Gu"], ["confirmed_at", "2016-03-11 01:52:02.465891"], ["authentication_token", "FgkCSsa2ppRrCiZVPxGq"], ["created_at", "2016-03-11 01:52:02.468844"], ["updated_at", "2016-03-11 01:52:02.468844"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:02.483167"], ["updated_at", "2016-03-11 01:52:02.483167"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:02.493798"], ["updated_at", "2016-03-11 01:52:02.493798"]] [1m[35m (9.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test10@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:52:02.532252"], ["current_sign_in_at", "2016-03-11 01:52:02.532252"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:02.533365"], ["id", 1]] [1m[35m (11.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (40.5ms) Completed 500 Internal Server Error in 46ms (ActiveRecord: 0.4ms) [1m[36m (11.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "zTYEwQ9k7tmc74aHkAsb"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$UP6vnH8BOV/hU0FbZE3kF.mmGFHvtixZyDe.4.pO9h7ItjYG.qbce"], ["confirmed_at", "2016-03-11 01:52:02.709752"], ["authentication_token", "zTYEwQ9k7tmc74aHkAsb"], ["created_at", "2016-03-11 01:52:02.712712"], ["updated_at", "2016-03-11 01:52:02.712712"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:02.727433"], ["updated_at", "2016-03-11 01:52:02.727433"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:02.740478"], ["updated_at", "2016-03-11 01:52:02.740478"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "nvstNC9sKCR4qz6us1zz"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$Kmh7mRQcZQ5YaLoMXhh0CelW2OmXpJJM5Uz3AGcC1lIxB.tndvTtO"], ["confirmed_at", "2016-03-11 01:52:02.754422"], ["authentication_token", "nvstNC9sKCR4qz6us1zz"], ["created_at", "2016-03-11 01:52:02.757584"], ["updated_at", "2016-03-11 01:52:02.757584"]] [1m[36m (8.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 2], ["created_at", "2016-03-11 01:52:02.773367"], ["updated_at", "2016-03-11 01:52:02.773367"]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (2.1ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:52:02.786371"], ["updated_at", "2016-03-11 01:52:02.786371"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:52:02.809601"], ["updated_at", "2016-03-11 01:52:02.809601"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:52:02.820262"], ["updated_at", "2016-03-11 01:52:02.820262"]] [1m[35m (9.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test13@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:52:02.882698"], ["current_sign_in_at", "2016-03-11 01:52:02.882698"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:02.884132"], ["id", 2]] [1m[35m (12.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 13.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.6ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (60.6ms) Completed 500 Internal Server Error in 70ms (ActiveRecord: 0.7ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "zJik3HiRP7Kq15BV-y1Y"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$yz.BKIeSQZRQ7VuzQGdPPeFfGhNMzaJ2ljQXYK4vY9qCQGV8xJSga"], ["confirmed_at", "2016-03-11 01:52:03.055733"], ["authentication_token", "zJik3HiRP7Kq15BV-y1Y"], ["created_at", "2016-03-11 01:52:03.059977"], ["updated_at", "2016-03-11 01:52:03.059977"]] [1m[36m (12.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:03.080345"], ["updated_at", "2016-03-11 01:52:03.080345"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:03.094588"], ["updated_at", "2016-03-11 01:52:03.094588"]] [1m[35m (7.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "EF11VMxPJkhRxaseyDEc"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$G8SYgpNXDNhfMH./xk92rOzSFl/QaZkluPgTK..6J/prH59BWSdCm"], ["confirmed_at", "2016-03-11 01:52:03.107161"], ["authentication_token", "EF11VMxPJkhRxaseyDEc"], ["created_at", "2016-03-11 01:52:03.110527"], ["updated_at", "2016-03-11 01:52:03.110527"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 2], ["created_at", "2016-03-11 01:52:03.129854"], ["updated_at", "2016-03-11 01:52:03.129854"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:52:03.143008"], ["updated_at", "2016-03-11 01:52:03.143008"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:52:03.155653"], ["updated_at", "2016-03-11 01:52:03.155653"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:52:03.168190"], ["updated_at", "2016-03-11 01:52:03.168190"]] [1m[35m (9.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:03 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:03 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test15@example.com"]] [1m[35m (0.4ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:52:03.209762"], ["current_sign_in_at", "2016-03-11 01:52:03.209762"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:03.211024"], ["id", 1]] [1m[35m (9.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:03 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (46.3ms) Completed 500 Internal Server Error in 53ms (ActiveRecord: 0.3ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:03 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:52:03 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (2.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (16.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:52:03 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "-kmFiFtxx2EmAsNPmQ2A"]] [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "85fb0bb776c38499d2c983c4dc367f2c359927be08a34859d5c4776f83fce799"]] [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$OPgUrrgx0FkRFShgosS0a.svQZuxAUlIQpOleJwfLlHOXPahIEsCq"], ["authentication_token", "-kmFiFtxx2EmAsNPmQ2A"], ["created_at", "2016-03-11 01:52:03.594172"], ["updated_at", "2016-03-11 01:52:03.594172"], ["confirmation_token", "zLNh-txsCaK4gHyZzmxg"], ["confirmation_sent_at", "2016-03-11 01:52:03.805418"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.7ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 324.4ms Sent mail to mtdevise@example.com (35.5ms) Date: Fri, 11 Mar 2016 01:52:04 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e224c42cf16_d40dd50e01045@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:04.194897"], ["updated_at", "2016-03-11 01:52:04.194897"]] [1m[35m (10.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:04.210752"], ["updated_at", "2016-03-11 01:52:04.210752"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:52:04.222675"], ["updated_at", "2016-03-11 01:52:04.223330"], ["id", 1]] [1m[35m (9.1ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:52:04.241468"], ["current_sign_in_at", "2016-03-11 01:52:04.241468"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:04.242230"], ["id", 1]] [1m[35m (9.7ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 675ms (ActiveRecord: 44.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:04 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (33.6ms) Completed 500 Internal Server Error in 47ms (ActiveRecord: 0.5ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:04 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:52:04 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:52:04 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:05.642406"], ["updated_at", "2016-03-11 01:52:05.642406"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:05.657065"], ["updated_at", "2016-03-11 01:52:05.657065"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:52:05.668016"], ["updated_at", "2016-03-11 01:52:05.668751"], ["id", 1]] [1m[35m (9.1ms)[0m commit transaction [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (9.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:05 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:05 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:05 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:52:05 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:05 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:05 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (52.9ms) Completed 500 Internal Server Error in 57ms (ActiveRecord: 0.0ms) [1m[35m (12.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "iYeAvf9DpRWsXM6MPSSQ"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$WYq.hJWNRfU.U65NMFCppOzpfU1CGFuP5ZA.Nmby9Ck37yhhPfj7K"], ["confirmed_at", "2016-03-11 01:52:06.031416"], ["authentication_token", "iYeAvf9DpRWsXM6MPSSQ"], ["created_at", "2016-03-11 01:52:06.034710"], ["updated_at", "2016-03-11 01:52:06.034710"]] [1m[35m (14.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:52:06.082520"], ["current_sign_in_at", "2016-03-11 01:52:06.082520"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:52:06.084389"], ["id", 1]] [1m[35m (11.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (47.5ms) Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.6ms) [1m[36m (10.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "vSx-nnUryTAcuTszbJv7"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$lgejOoSzEI0u4NJlk6LKAe1vINFEHetPPjrYpfq2YqqeBSYQU84B2"], ["confirmed_at", "2016-03-11 01:52:06.258090"], ["authentication_token", "vSx-nnUryTAcuTszbJv7"], ["created_at", "2016-03-11 01:52:06.261288"], ["updated_at", "2016-03-11 01:52:06.261288"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:06.278100"], ["updated_at", "2016-03-11 01:52:06.278100"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:06.292405"], ["updated_at", "2016-03-11 01:52:06.292405"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "C5FT54_XZMu4ta_Dxp-C"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$xmP54zbuwp0PJ85BA8qVxuozOv1yvhvd4g/hxKvoMeCZDGs6IsLHi"], ["confirmed_at", "2016-03-11 01:52:06.305643"], ["authentication_token", "C5FT54_XZMu4ta_Dxp-C"], ["created_at", "2016-03-11 01:52:06.308124"], ["updated_at", "2016-03-11 01:52:06.308124"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 2], ["created_at", "2016-03-11 01:52:06.322765"], ["updated_at", "2016-03-11 01:52:06.322765"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:52:06.336304"], ["updated_at", "2016-03-11 01:52:06.336304"]] [1m[35m (9.2ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (53.1ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.2ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "WzxCqUpz_q1yTcyKp2iy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$UnwS2lWniYQTadggcc2aYezMpsJJHY6sUZe8VLnUbtwA.kOOuCE86"], ["confirmed_at", "2016-03-11 01:52:06.489723"], ["authentication_token", "WzxCqUpz_q1yTcyKp2iy"], ["created_at", "2016-03-11 01:52:06.492780"], ["updated_at", "2016-03-11 01:52:06.492780"]] [1m[36m (13.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:06.511534"], ["updated_at", "2016-03-11 01:52:06.511534"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:06.525297"], ["updated_at", "2016-03-11 01:52:06.525297"]] [1m[35m (10.7ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test15"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test15"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (64.1ms) Completed 500 Internal Server Error in 72ms (ActiveRecord: 0.1ms) [1m[36m (12.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "P2f7LBwssFtoDAhUsqdG"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$WekhTjhZWHduxcJr5esyIOXC4m4G/zYpIbgqn2WbbEmrguPL7rKgq"], ["confirmed_at", "2016-03-11 01:52:06.690742"], ["authentication_token", "P2f7LBwssFtoDAhUsqdG"], ["created_at", "2016-03-11 01:52:06.694105"], ["updated_at", "2016-03-11 01:52:06.694105"]] [1m[36m (8.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:06.708512"], ["updated_at", "2016-03-11 01:52:06.708512"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:06.724285"], ["updated_at", "2016-03-11 01:52:06.724285"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test16"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test16"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test16"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test16"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (84.3ms) Completed 500 Internal Server Error in 95ms (ActiveRecord: 0.1ms) [1m[36m (11.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "dJUpnm5m9sgCwBW9H-sn"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test25@example.com"], ["encrypted_password", "$2a$04$xjASr9hrTHmw52X8ViAzMOydrlfpnidjiBTMwq3rFiKYmv5jEWQFa"], ["confirmed_at", "2016-03-11 01:52:06.916156"], ["authentication_token", "dJUpnm5m9sgCwBW9H-sn"], ["created_at", "2016-03-11 01:52:06.921040"], ["updated_at", "2016-03-11 01:52:06.921040"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-11 01:52:06.938903"], ["updated_at", "2016-03-11 01:52:06.938903"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:52:06.954129"], ["updated_at", "2016-03-11 01:52:06.954129"]] [1m[35m (8.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test17"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:52:06 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test17"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (65.0ms) Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.1ms) [1m[36m (11.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (15.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "NWhRmTtcxtsjx3ovevxn"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$/hU6ovpaLKrQtOAEbLBSFubSLCpU6B0FK6KHvEen9vtVhzH6ylqXi"], ["confirmed_at", "2016-03-11 01:53:16.657331"], ["authentication_token", "NWhRmTtcxtsjx3ovevxn"], ["created_at", "2016-03-11 01:53:16.724414"], ["updated_at", "2016-03-11 01:53:16.724414"]] [1m[35m (18.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:16 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (283.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (1.8ms) Completed 200 OK in 779ms (Views: 748.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:17 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (2.6ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:17.579832"], ["current_sign_in_at", "2016-03-11 01:53:17.579832"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:17.580908"], ["id", 1]] [1m[35m (12.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 64ms (ActiveRecord: 16.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:17 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.5ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (18.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (87.2ms) Completed 500 Internal Server Error in 184ms (ActiveRecord: 1.2ms) [1m[36m (10.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (1.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "8vMRSynPXixbKr-L-8z5"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$96qeWyd.eBwmJT2qpzjTPeMLhBjuAu.NwsMN56f3ZHoCMH/BfpBlK"], ["confirmed_at", "2016-03-11 01:53:17.897790"], ["authentication_token", "8vMRSynPXixbKr-L-8z5"], ["created_at", "2016-03-11 01:53:17.903379"], ["updated_at", "2016-03-11 01:53:17.903379"]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:17.952446"], ["updated_at", "2016-03-11 01:53:17.952446"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:18.049020"], ["updated_at", "2016-03-11 01:53:18.049020"]] [1m[35m (10.2ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (2.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (15.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (35.6ms) Completed 500 Internal Server Error in 81ms (ActiveRecord: 1.9ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 01:53:18.303017"], ["updated_at", "2016-03-11 01:53:18.303017"]] [1m[35m (9.3ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (32.9ms) Completed 500 Internal Server Error in 55ms (ActiveRecord: 1.7ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:53:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:19.315113"], ["updated_at", "2016-03-11 01:53:19.315113"]] [1m[35m (12.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:19.332005"], ["updated_at", "2016-03-11 01:53:19.332005"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:53:19.342640"], ["updated_at", "2016-03-11 01:53:19.343171"], ["id", 1]] [1m[35m (8.9ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:19.358220"], ["current_sign_in_at", "2016-03-11 01:53:19.358220"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:19.358892"], ["id", 1]] [1m[35m (9.8ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 722ms (ActiveRecord: 43.7ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 [1m[36mMtdevise::Account Load (0.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (51.5ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.4ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (6.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (6.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (47.1ms) Completed 500 Internal Server Error in 74ms (ActiveRecord: 2.1ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "kzdCG91EaagD7ewDg5Ct"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test2@example.com"], ["encrypted_password", "$2a$04$BMYm9XDcD3p4kedjgnJmQebpNTHojleGu7AOpY.MthmV2vLJPK/IK"], ["confirmed_at", "2016-03-11 01:53:19.707210"], ["authentication_token", "kzdCG91EaagD7ewDg5Ct"], ["created_at", "2016-03-11 01:53:19.709834"], ["updated_at", "2016-03-11 01:53:19.709834"]] [1m[35m (8.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:19.722456"], ["updated_at", "2016-03-11 01:53:19.722456"]] [1m[35m (6.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:19.732863"], ["updated_at", "2016-03-11 01:53:19.732863"]] [1m[36m (8.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test2@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:53:19.764894"], ["current_sign_in_at", "2016-03-11 01:53:19.764894"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:19.766039"], ["id", 1]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 11.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (55.0ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.4ms) [1m[35m (11.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:19 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (58.3ms) Completed 500 Internal Server Error in 67ms (ActiveRecord: 0.0ms) [1m[35m (9.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "g2E_9TnFrzQkDWmSpwuy"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@example.com"], ["encrypted_password", "$2a$04$vS4jYZ.76S3WW.oyefCS2eJNYT.HwAMGe9Rifchxil/p20WEWsoau"], ["confirmed_at", "2016-03-11 01:53:20.071027"], ["authentication_token", "g2E_9TnFrzQkDWmSpwuy"], ["created_at", "2016-03-11 01:53:20.074113"], ["updated_at", "2016-03-11 01:53:20.074113"]] [1m[35m (11.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:20.091327"], ["updated_at", "2016-03-11 01:53:20.091327"]] [1m[35m (13.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:20.109482"], ["updated_at", "2016-03-11 01:53:20.109482"]] [1m[36m (29.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test4@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (54.5ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.0ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "mSttJbpqmEabcYqTh_JH"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$E5xYgd3.K8AGMDgz6j5.Cue1aQ7gWxSz3I2AzZUDPaqC184UcrDhG"], ["confirmed_at", "2016-03-11 01:53:20.302839"], ["authentication_token", "mSttJbpqmEabcYqTh_JH"], ["created_at", "2016-03-11 01:53:20.305626"], ["updated_at", "2016-03-11 01:53:20.305626"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:20.321782"], ["updated_at", "2016-03-11 01:53:20.321782"]] [1m[36m (8.4ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:20.335257"], ["updated_at", "2016-03-11 01:53:20.335257"]] [1m[35m (8.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test5@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:20.374615"], ["current_sign_in_at", "2016-03-11 01:53:20.374615"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:20.375632"], ["id", 1]] [1m[35m (10.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (40.7ms) Completed 500 Internal Server Error in 47ms (ActiveRecord: 0.3ms) [1m[36m (10.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (6.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "FCyYf3dCmdLnC92CYoJT"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$XSJsSV6JKLG2izWZW.Np5OSGq5NMN13/pFz9XNaMJ15rhWy6/jJyW"], ["confirmed_at", "2016-03-11 01:53:20.538949"], ["authentication_token", "FCyYf3dCmdLnC92CYoJT"], ["created_at", "2016-03-11 01:53:20.542019"], ["updated_at", "2016-03-11 01:53:20.542019"]] [1m[36m (7.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:20.555448"], ["updated_at", "2016-03-11 01:53:20.555448"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:20.568609"], ["updated_at", "2016-03-11 01:53:20.568609"]] [1m[35m (8.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test5"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test5"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test5"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test5"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (78.5ms) Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.2ms) [1m[36m (12.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "TSTmJswJxXvY6fu_Kqyh"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$R.LND/KfzddC3EG7hpiXie1tf5QY4Yq5otR2DcRwve/QikYnwMYJW"], ["confirmed_at", "2016-03-11 01:53:20.747797"], ["authentication_token", "TSTmJswJxXvY6fu_Kqyh"], ["created_at", "2016-03-11 01:53:20.751127"], ["updated_at", "2016-03-11 01:53:20.751127"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:20.769026"], ["updated_at", "2016-03-11 01:53:20.769026"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:20.782362"], ["updated_at", "2016-03-11 01:53:20.782362"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:20 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (58.1ms) Completed 500 Internal Server Error in 68ms (ActiveRecord: 0.1ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "hPjmLKNSo5ouEbpF1dBA"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$99polXhaO5qe0yg0WLuGAuYERuZGh1Lbty6rseqxwBoQ9xmEfmbne"], ["confirmed_at", "2016-03-11 01:53:20.940007"], ["authentication_token", "hPjmLKNSo5ouEbpF1dBA"], ["created_at", "2016-03-11 01:53:20.943509"], ["updated_at", "2016-03-11 01:53:20.943509"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:20.958332"], ["updated_at", "2016-03-11 01:53:20.958332"]] [1m[36m (7.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:20.970506"], ["updated_at", "2016-03-11 01:53:20.970506"]] [1m[35m (6.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "d8yC2e-ytZWtgM8gD1iM"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$uJ07eE00G/Edspq43t0YaeZ56wh0VO0XFBgMCU3CLlg1MaWUxM0qK"], ["confirmed_at", "2016-03-11 01:53:20.981743"], ["authentication_token", "d8yC2e-ytZWtgM8gD1iM"], ["created_at", "2016-03-11 01:53:20.984465"], ["updated_at", "2016-03-11 01:53:20.984465"]] [1m[36m (12.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 2], ["created_at", "2016-03-11 01:53:21.003111"], ["updated_at", "2016-03-11 01:53:21.003111"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:53:21.017109"], ["updated_at", "2016-03-11 01:53:21.017109"]] [1m[35m (11.2ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (71.7ms) Completed 500 Internal Server Error in 80ms (ActiveRecord: 0.2ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "VyEjzJSbc6MT9yTYzsUS"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$9QcGpsBDHvbb0x9nK19FbOEafQLKOiiGMWcrdPMLDA2d8YF57S7fq"], ["confirmed_at", "2016-03-11 01:53:21.192587"], ["authentication_token", "VyEjzJSbc6MT9yTYzsUS"], ["created_at", "2016-03-11 01:53:21.196806"], ["updated_at", "2016-03-11 01:53:21.196806"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:21.212429"], ["updated_at", "2016-03-11 01:53:21.212429"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:21.226588"], ["updated_at", "2016-03-11 01:53:21.226588"]] [1m[35m (7.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test9"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test9"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (66.6ms) Completed 500 Internal Server Error in 73ms (ActiveRecord: 0.2ms) [1m[36m (11.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "xL88yBvnDyLSs_34xc_K"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$ObMZE4Mr4uIOgDEcbzodPeyWubUqtTtN1BokdN0lvnfwbhfjtBVE."], ["confirmed_at", "2016-03-11 01:53:21.428932"], ["authentication_token", "xL88yBvnDyLSs_34xc_K"], ["created_at", "2016-03-11 01:53:21.434441"], ["updated_at", "2016-03-11 01:53:21.434441"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:21.453140"], ["updated_at", "2016-03-11 01:53:21.453140"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:21.467570"], ["updated_at", "2016-03-11 01:53:21.467570"]] [1m[35m (9.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test12@example.com"]] [1m[35m (0.4ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:21.533610"], ["current_sign_in_at", "2016-03-11 01:53:21.533610"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:21.534840"], ["id", 1]] [1m[35m (10.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (53.1ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.3ms) [1m[36m (10.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Jhy9HUzXyhnJYdo56Mji"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test14@example.com"], ["encrypted_password", "$2a$04$wOAxUSV3GK.ZLsIijBYJSuVio5dzUPUHAgwQhuxqdjiWRJuFvnbIe"], ["confirmed_at", "2016-03-11 01:53:21.686922"], ["authentication_token", "Jhy9HUzXyhnJYdo56Mji"], ["created_at", "2016-03-11 01:53:21.691454"], ["updated_at", "2016-03-11 01:53:21.691454"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:21.711418"], ["updated_at", "2016-03-11 01:53:21.711418"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:21.725603"], ["updated_at", "2016-03-11 01:53:21.725603"]] [1m[35m (11.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test14@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:21.769475"], ["current_sign_in_at", "2016-03-11 01:53:21.769475"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:21.770798"], ["id", 1]] [1m[35m (10.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (62.9ms) Completed 500 Internal Server Error in 71ms (ActiveRecord: 0.3ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "vWzs9-ySRPRSGSEtp3tS"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$62K90YkzQJUewqQGY7kIn.5hbl1kCsKpGJftmnxBwgZrbz5RjmjBy"], ["confirmed_at", "2016-03-11 01:53:21.936332"], ["authentication_token", "vWzs9-ySRPRSGSEtp3tS"], ["created_at", "2016-03-11 01:53:21.939673"], ["updated_at", "2016-03-11 01:53:21.939673"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:21.956865"], ["updated_at", "2016-03-11 01:53:21.956865"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:21.974207"], ["updated_at", "2016-03-11 01:53:21.974207"]] [1m[35m (11.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:21 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.7ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test16@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:22.029126"], ["current_sign_in_at", "2016-03-11 01:53:22.029126"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:22.030516"], ["id", 1]] [1m[35m (12.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 13.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (53.4ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.4ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "sJdzVwWj1dTM7cxwyWXp"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$mPUxoeX1Be937wyB/gaZk.T5.JwvkLh0cL00HzvqFeqp6p9U/rrm6"], ["confirmed_at", "2016-03-11 01:53:22.190226"], ["authentication_token", "sJdzVwWj1dTM7cxwyWXp"], ["created_at", "2016-03-11 01:53:22.194153"], ["updated_at", "2016-03-11 01:53:22.194153"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:22.210857"], ["updated_at", "2016-03-11 01:53:22.210857"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:22.226359"], ["updated_at", "2016-03-11 01:53:22.226359"]] [1m[35m (10.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test18@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:22.266791"], ["current_sign_in_at", "2016-03-11 01:53:22.266791"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:22.267842"], ["id", 1]] [1m[35m (12.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 12.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (116.3ms) Completed 500 Internal Server Error in 124ms (ActiveRecord: 0.4ms) [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "BXKiXs59gK8jPLis2yWL"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$F5J2DDCR334pZNCt3Gto9O0GLYRRBLwAW4jvFDgOl3pzQmLGlB0t."], ["confirmed_at", "2016-03-11 01:53:22.527132"], ["authentication_token", "BXKiXs59gK8jPLis2yWL"], ["created_at", "2016-03-11 01:53:22.529961"], ["updated_at", "2016-03-11 01:53:22.529961"]] [1m[36m (7.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:53:22.562714"], ["current_sign_in_at", "2016-03-11 01:53:22.562714"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:22.563734"], ["id", 1]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 11.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (49.7ms) Completed 500 Internal Server Error in 56ms (ActiveRecord: 0.3ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (45.3ms) Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.0ms) [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:53:22 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (13.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "KYj3EY_7cscqrpZAV7R8"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "8f34bdb177af487d206d432dac688f1495c419fa94a40e74f3ae656e77f0ca1b"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "user@example.com"], ["encrypted_password", "$2a$04$TbCwhZ98f5GTQ3akea0ILupzHfjBMJuVwizNoU9L08exT/JNdPHO6"], ["authentication_token", "KYj3EY_7cscqrpZAV7R8"], ["created_at", "2016-03-11 01:53:22.979521"], ["updated_at", "2016-03-11 01:53:22.979521"], ["confirmation_token", "ZgCvTDy8uR2MyGC1yo7A"], ["confirmation_sent_at", "2016-03-11 01:53:22.980377"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.6ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 5.2ms Sent mail to user@example.com (3.1ms) Date: Fri, 11 Mar 2016 01:53:22 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e22512f166f_d4d12c30e82806f@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:22.991061"], ["updated_at", "2016-03-11 01:53:22.991061"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:23.006986"], ["updated_at", "2016-03-11 01:53:23.006986"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 01:53:23.019052"], ["updated_at", "2016-03-11 01:53:23.019855"], ["id", 1]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (9.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (8.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (8.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "1BSMreZ5QV8-BkQuzsRi"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$hQoIx29KHQZi.F1oohY/3OvUS1Ja0.eIXdtkNObK7XBa71f63rrdi"], ["confirmed_at", "2016-03-11 01:53:23.220232"], ["authentication_token", "1BSMreZ5QV8-BkQuzsRi"], ["created_at", "2016-03-11 01:53:23.222873"], ["updated_at", "2016-03-11 01:53:23.222873"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:23.237267"], ["updated_at", "2016-03-11 01:53:23.237267"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:23.249949"], ["updated_at", "2016-03-11 01:53:23.249949"]] [1m[35m (8.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "hUqwV_XPGWCM_sHNujn3"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$dOw164SSqlSK03D1bloI6e4Sn96sw0x.26GgUjhVJXV/flaUBujR2"], ["confirmed_at", "2016-03-11 01:53:23.262185"], ["authentication_token", "hUqwV_XPGWCM_sHNujn3"], ["created_at", "2016-03-11 01:53:23.264883"], ["updated_at", "2016-03-11 01:53:23.264883"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 2], ["created_at", "2016-03-11 01:53:23.279804"], ["updated_at", "2016-03-11 01:53:23.279804"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:53:23.292744"], ["updated_at", "2016-03-11 01:53:23.292744"]] [1m[35m (11.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:53:23.312718"], ["updated_at", "2016-03-11 01:53:23.312718"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:53:23.324363"], ["updated_at", "2016-03-11 01:53:23.324363"]] [1m[35m (9.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:23 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:23 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test21@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:23.358288"], ["current_sign_in_at", "2016-03-11 01:53:23.358288"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:23.359431"], ["id", 2]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 10.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:23 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (45.7ms) Completed 500 Internal Server Error in 56ms (ActiveRecord: 0.5ms) [1m[36m (10.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "sX_zUFmTRLtBF5LxWP17"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$tCZAQbVJRTmaoe0z23bP8.RNW7f1QH7SU7BDqKWPZ8XCO1DOngv2W"], ["confirmed_at", "2016-03-11 01:53:23.506036"], ["authentication_token", "sX_zUFmTRLtBF5LxWP17"], ["created_at", "2016-03-11 01:53:23.509175"], ["updated_at", "2016-03-11 01:53:23.509175"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 01:53:23.523141"], ["updated_at", "2016-03-11 01:53:23.523141"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:53:23.535840"], ["updated_at", "2016-03-11 01:53:23.535840"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Cbxsj1ssnsZ2GDuVByrr"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$VplSwYmz14yXQ4wClrvAJu/Tpcz5.CQx.9B4YNB3vtx/9l1Nm1tWG"], ["confirmed_at", "2016-03-11 01:53:23.549188"], ["authentication_token", "Cbxsj1ssnsZ2GDuVByrr"], ["created_at", "2016-03-11 01:53:23.551554"], ["updated_at", "2016-03-11 01:53:23.551554"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 2], ["created_at", "2016-03-11 01:53:23.565619"], ["updated_at", "2016-03-11 01:53:23.565619"]] [1m[36m (13.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:53:23.582444"], ["updated_at", "2016-03-11 01:53:23.582444"]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 01:53:23.592074"], ["updated_at", "2016-03-11 01:53:23.592074"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 01:53:23.603129"], ["updated_at", "2016-03-11 01:53:23.603129"]] [1m[35m (7.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:23 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:53:23 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test23@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:53:23.634467"], ["current_sign_in_at", "2016-03-11 01:53:23.634467"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:53:23.635320"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 10.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:53:23 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (43.6ms) Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.3ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (22.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (22.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "AdCCtT99Vb97evwkbnG3"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$P570liFZqaaSi4JLlJ.A4.cMNRk0mkpoeEgEu1mXgh1lm9LbBzFK2"], ["confirmed_at", "2016-03-11 01:55:09.352731"], ["authentication_token", "AdCCtT99Vb97evwkbnG3"], ["created_at", "2016-03-11 01:55:09.452474"], ["updated_at", "2016-03-11 01:55:09.452474"]] [1m[35m (13.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:09.499350"], ["updated_at", "2016-03-11 01:55:09.499350"]] [1m[35m (14.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:09.607432"], ["updated_at", "2016-03-11 01:55:09.607432"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xporb5vfvM3ZZ67kZ7CG"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test2@example.com"], ["encrypted_password", "$2a$04$x2u8ghIMyMhpNEA55AveZu54ZE6QOkkMgCO7TNLR1jJOntI7/Hfum"], ["confirmed_at", "2016-03-11 01:55:09.622881"], ["authentication_token", "xporb5vfvM3ZZ67kZ7CG"], ["created_at", "2016-03-11 01:55:09.627051"], ["updated_at", "2016-03-11 01:55:09.627051"]] [1m[35m (17.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 2], ["created_at", "2016-03-11 01:55:09.653654"], ["updated_at", "2016-03-11 01:55:09.653654"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 01:55:09.668685"], ["updated_at", "2016-03-11 01:55:09.668685"]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:09 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (1.7ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] Completed 401 Unauthorized in 26ms (ActiveRecord: 1.7ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:09 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (3.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (314.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.7ms) Completed 200 OK in 771ms (Views: 765.3ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:10 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test1"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test1"]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test1"]] [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test2@example.com"]] Completed 401 Unauthorized in 11ms (ActiveRecord: 0.9ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test1"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.0ms) [1m[36m (13.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "kXUyGG13jy6d_FueTkWv"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$l0AXahRhGPTNw7F9jZTew.F61UUw1G1Jli8R6.HJcg/oyAYtyXfYO"], ["confirmed_at", "2016-03-11 01:55:10.674774"], ["authentication_token", "kXUyGG13jy6d_FueTkWv"], ["created_at", "2016-03-11 01:55:10.678819"], ["updated_at", "2016-03-11 01:55:10.678819"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:10.694754"], ["updated_at", "2016-03-11 01:55:10.694754"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:10.709144"], ["updated_at", "2016-03-11 01:55:10.709144"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:10 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:10 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:10 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test3"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test3@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:55:10.765697"], ["current_sign_in_at", "2016-03-11 01:55:10.765697"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:55:10.766768"], ["id", 1]] [1m[36m (11.6ms)[0m [1mcommit transaction[0m Redirected to http://test3.example.com/ Completed 302 Found in 45ms (ActiveRecord: 12.8ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:10 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 15.6ms | ActiveRecord: 0.6ms) [1m[36m (15.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "wLsz28d9sU5_KXsHnfxN"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$RTKmtLrm34k5aCNQL64/VuR5Fa7HrZPKQW.ActY1DGEahSHRVN7C2"], ["confirmed_at", "2016-03-11 01:55:10.990751"], ["authentication_token", "wLsz28d9sU5_KXsHnfxN"], ["created_at", "2016-03-11 01:55:10.994707"], ["updated_at", "2016-03-11 01:55:10.994707"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:11.011191"], ["updated_at", "2016-03-11 01:55:11.011191"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:11.027100"], ["updated_at", "2016-03-11 01:55:11.027100"]] [1m[35m (9.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test4"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test4"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test4"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test4"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.7ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.0ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Xe7EKYA2jLqrswQ3gaEz"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$cVU1CU62c6I/Z0A8oLofaeV8C6LWda7SIQ6rk1dteh3e7KR9zIHKm"], ["confirmed_at", "2016-03-11 01:55:11.174330"], ["authentication_token", "Xe7EKYA2jLqrswQ3gaEz"], ["created_at", "2016-03-11 01:55:11.177276"], ["updated_at", "2016-03-11 01:55:11.177276"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:11.194168"], ["updated_at", "2016-03-11 01:55:11.194168"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:11.205343"], ["updated_at", "2016-03-11 01:55:11.205343"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test5"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test5"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test5"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test5"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test5@example.com"]] Completed 401 Unauthorized in 6ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test5"]] Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.0ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) [1m[36m (11.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "p9pxyuAdjSXiZCBBCxxA"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$sYmR3JOZlXPbyn.I40AvLOCxhyC/ZmMf85M406i.Eyrt1jgRnLAki"], ["confirmed_at", "2016-03-11 01:55:11.439430"], ["authentication_token", "p9pxyuAdjSXiZCBBCxxA"], ["created_at", "2016-03-11 01:55:11.442842"], ["updated_at", "2016-03-11 01:55:11.442842"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:11.457646"], ["updated_at", "2016-03-11 01:55:11.457646"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:11.472011"], ["updated_at", "2016-03-11 01:55:11.472011"]] [1m[35m (9.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test6@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:55:11.512275"], ["current_sign_in_at", "2016-03-11 01:55:11.512275"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:55:11.513125"], ["id", 1]] [1m[35m (10.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 15.2ms | ActiveRecord: 0.6ms) [1m[36m (11.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "6mnBJVvFHs7XZ-os2FrM"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$OPQ7D5Fa9G1VkH/jJftlw.LEpJCJm.ZmM1o7u66wng7fs3L7N.H/y"], ["confirmed_at", "2016-03-11 01:55:11.666380"], ["authentication_token", "6mnBJVvFHs7XZ-os2FrM"], ["created_at", "2016-03-11 01:55:11.669624"], ["updated_at", "2016-03-11 01:55:11.669624"]] [1m[36m (8.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:55:11.703838"], ["current_sign_in_at", "2016-03-11 01:55:11.703838"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:55:11.704808"], ["id", 1]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) [1m[36m (12.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (2.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (17.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 26.7ms | ActiveRecord: 0.0ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:11 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "swXDstHG1kuiNEPVuYjo"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$CEqPRklZ8HCMCO139hLA5efzykBhQZbQ0INs4OvcFBhFOZmKGg.de"], ["confirmed_at", "2016-03-11 01:55:12.074455"], ["authentication_token", "swXDstHG1kuiNEPVuYjo"], ["created_at", "2016-03-11 01:55:12.077766"], ["updated_at", "2016-03-11 01:55:12.077766"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:12.092863"], ["updated_at", "2016-03-11 01:55:12.092863"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:12.106137"], ["updated_at", "2016-03-11 01:55:12.106137"]] [1m[35m (7.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test8@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:55:12.143083"], ["current_sign_in_at", "2016-03-11 01:55:12.143083"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:55:12.144061"], ["id", 1]] [1m[35m (11.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 12.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.1ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["created_at", "2016-03-11 01:55:12.198776"], ["updated_at", "2016-03-11 01:55:12.198776"]] [1m[35m (11.1ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 1], ["created_at", "2016-03-11 01:55:12.220102"], ["updated_at", "2016-03-11 01:55:12.220102"]] [1m[35m (11.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ?[0m [["owner_id", 1], ["updated_at", "2016-03-11 01:55:12.237465"], ["id", 2]] [1m[35m (12.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 59ms (ActiveRecord: 37.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.4ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "EehxCsFs22vFm2sDt_VW"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$DNePY2HzY6WYBKBt09CQYe6nSnMXXMAiTKMcZrBt2o/qNjs7J7Ex6"], ["confirmed_at", "2016-03-11 01:55:12.338103"], ["authentication_token", "EehxCsFs22vFm2sDt_VW"], ["created_at", "2016-03-11 01:55:12.341110"], ["updated_at", "2016-03-11 01:55:12.341110"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:12.356842"], ["updated_at", "2016-03-11 01:55:12.356842"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:12.369594"], ["updated_at", "2016-03-11 01:55:12.369594"]] [1m[35m (9.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test10@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:55:12.405766"], ["current_sign_in_at", "2016-03-11 01:55:12.405766"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:55:12.406624"], ["id", 1]] [1m[35m (9.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 10.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:55:12 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:15.316417"], ["updated_at", "2016-03-11 01:55:15.316417"]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:15.339663"], ["updated_at", "2016-03-11 01:55:15.339663"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 01:55:15.351405"], ["updated_at", "2016-03-11 01:55:15.352050"], ["id", 1]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:55:15.367999"], ["current_sign_in_at", "2016-03-11 01:55:15.367999"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:55:15.368883"], ["id", 1]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 875ms (ActiveRecord: 44.5ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:15 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.4ms) [1m[36m (12.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:15 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:55:15 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:55:15 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 6.5ms | ActiveRecord: 1.8ms) [1m[36m (11.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:55:15 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:55:15 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:55:15 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:55:15.958638"], ["updated_at", "2016-03-11 01:55:15.958638"]] [1m[35m (9.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:55:15.973428"], ["updated_at", "2016-03-11 01:55:15.973428"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:55:15.983897"], ["updated_at", "2016-03-11 01:55:15.984409"], ["id", 1]] [1m[35m (8.9ms)[0m commit transaction [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (8.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (11.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xvjPnzLtDB7HJH4ypQzL"]] [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$Sq3mDUWKICt4JRcgpZU2lOkNyEwWe2RJXkvpkQyy8oMh3tr1bLPlq"], ["confirmed_at", "2016-03-11 01:56:04.628828"], ["authentication_token", "xvjPnzLtDB7HJH4ypQzL"], ["created_at", "2016-03-11 01:56:04.717871"], ["updated_at", "2016-03-11 01:56:04.717871"]] [1m[35m (16.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 01:56:04.770716"], ["updated_at", "2016-03-11 01:56:04.770716"]] [1m[35m (10.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (1.9ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:56:04.865968"], ["updated_at", "2016-03-11 01:56:04.865968"]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:56:04 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (6.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.8ms) Completed 200 OK in 457ms (Views: 431.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:56:05 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (17.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (260.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 292ms (Views: 289.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:56:05 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (9.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.8ms) Completed 200 OK in 49ms (Views: 20.4ms | ActiveRecord: 1.6ms) [1m[35m (12.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 01:56:05 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:56:05 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:56:05 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:56:06.977454"], ["updated_at", "2016-03-11 01:56:06.977454"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:56:06.994717"], ["updated_at", "2016-03-11 01:56:06.994717"]] [1m[35m (10.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 01:56:07.007587"], ["updated_at", "2016-03-11 01:56:07.008474"], ["id", 1]] [1m[36m (13.4ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:56:07.032553"], ["current_sign_in_at", "2016-03-11 01:56:07.032553"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:56:07.033694"], ["id", 1]] [1m[36m (14.6ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 824ms (ActiveRecord: 54.6ms) Started GET "/" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 [1m[35mMtdevise::Account Load (0.5ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 19ms (Views: 14.4ms | ActiveRecord: 0.7ms) [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (16.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 7.7ms | ActiveRecord: 1.7ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "seRdwD6877nF5rKyfHWk"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$sE8mkwL9fss6c3xZHoLXgugTqc3XqfHEwYZCJKr1yY4VZzerqHsfe"], ["confirmed_at", "2016-03-11 01:56:07.272358"], ["authentication_token", "seRdwD6877nF5rKyfHWk"], ["created_at", "2016-03-11 01:56:07.275132"], ["updated_at", "2016-03-11 01:56:07.275132"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (26.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 38.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 01:56:07.354960"], ["current_sign_in_at", "2016-03-11 01:56:07.354960"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:56:07.365442"], ["id", 1]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 54ms (ActiveRecord: 11.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (8.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 16.0ms | ActiveRecord: 0.7ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) [1m[36m (11.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Dj6ixykyUpHz1zpssE6z"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "3101fdd4414c741cc78e64638113809d49f546587ecde7153c5604a7e2956b8b"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "user@example.com"], ["encrypted_password", "$2a$04$CPtKoeDYc3rK1RLOZFJeJO04Ac.aGBc7TXlFxzkUfBa9CXb/EpHf."], ["authentication_token", "Dj6ixykyUpHz1zpssE6z"], ["created_at", "2016-03-11 01:56:07.559062"], ["updated_at", "2016-03-11 01:56:07.559062"], ["confirmation_token", "67DAaZwei7izzsPSyn2s"], ["confirmation_sent_at", "2016-03-11 01:56:07.560164"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.9ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 5.7ms Sent mail to user@example.com (2.6ms) Date: Fri, 11 Mar 2016 01:56:07 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e225b78ade2_d8410210d81719c@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 01:56:07.570824"], ["updated_at", "2016-03-11 01:56:07.570824"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:56:07.584710"], ["updated_at", "2016-03-11 01:56:07.584710"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 01:56:07.595183"], ["updated_at", "2016-03-11 01:56:07.595960"], ["id", 1]] [1m[35m (8.3ms)[0m commit transaction [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (9.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (6.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (6.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "BiyZ6suyRbqssBqSFDQu"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test2@example.com"], ["encrypted_password", "$2a$04$LZA4xjX0uxmctBD/omZDiu7UTixnL/4zUSiTlGq.5lUWQcTv8PKrG"], ["confirmed_at", "2016-03-11 01:56:07.711755"], ["authentication_token", "BiyZ6suyRbqssBqSFDQu"], ["created_at", "2016-03-11 01:56:07.716008"], ["updated_at", "2016-03-11 01:56:07.716008"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 01:56:07.735423"], ["updated_at", "2016-03-11 01:56:07.735423"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:56:07.749111"], ["updated_at", "2016-03-11 01:56:07.749111"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test2@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms) [1m[36m (11.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "4ohZyXgX6muL3Y9pHo8X"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$oUakJFP7a9CxzxOEGvvjz.qD8g6xoerJGA0CrM/aAaQAfOBAOGnha"], ["confirmed_at", "2016-03-11 01:56:07.882354"], ["authentication_token", "4ohZyXgX6muL3Y9pHo8X"], ["created_at", "2016-03-11 01:56:07.886786"], ["updated_at", "2016-03-11 01:56:07.886786"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 01:56:07.902874"], ["updated_at", "2016-03-11 01:56:07.902874"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:56:07.917184"], ["updated_at", "2016-03-11 01:56:07.917184"]] [1m[35m (8.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test3@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:56:07.959567"], ["current_sign_in_at", "2016-03-11 01:56:07.959567"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:56:07.960864"], ["id", 1]] [1m[35m (8.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 9.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:56:07 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.4ms) [1m[36m (10.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "BkjKatcsRVpkCm55xamY"]] [1m[35mSQL (1.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$hBID/SUgyuZesLkdnXv9bO1PVyrJvA1JTgV2ZSNpwQhOz2RpxzQYu"], ["confirmed_at", "2016-03-11 01:56:08.174345"], ["authentication_token", "BkjKatcsRVpkCm55xamY"], ["created_at", "2016-03-11 01:56:08.178256"], ["updated_at", "2016-03-11 01:56:08.178256"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.3ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 01:56:08.196372"], ["updated_at", "2016-03-11 01:56:08.196372"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:56:08.212052"], ["updated_at", "2016-03-11 01:56:08.212052"]] [1m[35m (11.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test5@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:56:08.256942"], ["current_sign_in_at", "2016-03-11 01:56:08.256942"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:56:08.258235"], ["id", 1]] [1m[35m (12.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 13.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.6ms) Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["created_at", "2016-03-11 01:56:08.319571"], ["updated_at", "2016-03-11 01:56:08.319571"]] [1m[35m (11.7ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 1], ["created_at", "2016-03-11 01:56:08.339630"], ["updated_at", "2016-03-11 01:56:08.339630"]] [1m[35m (10.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.5ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ?[0m [["owner_id", 1], ["updated_at", "2016-03-11 01:56:08.357326"], ["id", 2]] [1m[35m (7.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 57ms (ActiveRecord: 33.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.4ms) [1m[36m (11.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "LNgjHuchgeK8Xy_fCEox"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$xRb8ZLeY06CURmpGuc6Px.YfuHK4DiZV45.uzqHSrcKDj4z.cwOcq"], ["confirmed_at", "2016-03-11 01:56:08.456764"], ["authentication_token", "LNgjHuchgeK8Xy_fCEox"], ["created_at", "2016-03-11 01:56:08.460296"], ["updated_at", "2016-03-11 01:56:08.460296"]] [1m[36m (12.3ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 01:56:08.479272"], ["updated_at", "2016-03-11 01:56:08.479272"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 01:56:08.493760"], ["updated_at", "2016-03-11 01:56:08.493760"]] [1m[35m (8.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test7@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 01:56:08.532922"], ["current_sign_in_at", "2016-03-11 01:56:08.532922"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 01:56:08.534286"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 01:56:08 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:25.258894"], ["updated_at", "2016-03-11 02:01:25.258894"]] [1m[36m (14.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:25.366873"], ["updated_at", "2016-03-11 02:01:25.366873"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:01:25.402585"], ["updated_at", "2016-03-11 02:01:25.403335"], ["id", 1]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.7ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (8.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "EyTeR8rsXMHxvqp7-4fc"]] [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$BRNoP/jgwLFlPkx/XB5m/usmraUpeGIGxIRA3J8pXDNjptXyAypIO"], ["confirmed_at", "2016-03-11 02:01:25.536362"], ["authentication_token", "EyTeR8rsXMHxvqp7-4fc"], ["created_at", "2016-03-11 02:01:25.540234"], ["updated_at", "2016-03-11 02:01:25.540234"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:25 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (280.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (1.5ms) Completed 200 OK in 802ms (Views: 766.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:01:26.412391"], ["current_sign_in_at", "2016-03-11 02:01:26.412391"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:26.413411"], ["id", 1]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 49ms (ActiveRecord: 13.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (9.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 37ms (Views: 22.9ms | ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.4ms) [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (1.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 26ms (Views: 23.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (4.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (23.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 39.0ms | ActiveRecord: 0.0ms) [1m[36m (14.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (1.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (1.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:26 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (7.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.0ms) [1m[36m (13.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (13.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (13.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "FbVzqn5zfnH5iMw4dEv_"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$7Jj7mtm0/k1wE3JPQR1BtutovYxmXU1Uy708U7Ahse173gn7yINHy"], ["confirmed_at", "2016-03-11 02:01:27.121536"], ["authentication_token", "FbVzqn5zfnH5iMw4dEv_"], ["created_at", "2016-03-11 02:01:27.126664"], ["updated_at", "2016-03-11 02:01:27.126664"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:27.146690"], ["updated_at", "2016-03-11 02:01:27.146690"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:27.163107"], ["updated_at", "2016-03-11 02:01:27.163107"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test1@example.com"]] [1m[35m (0.5ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:01:27.219174"], ["current_sign_in_at", "2016-03-11 02:01:27.219174"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:27.221199"], ["id", 1]] [1m[35m (13.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 31ms (ActiveRecord: 14.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.5ms) [1m[36m (12.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "54grmVP4uzguB64u4xrp"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$LjFEeJUc9ax2zZ/utl8Xn.zJHBS3ytD7cDdgzRac1EpT3TUitcQhK"], ["confirmed_at", "2016-03-11 02:01:27.340168"], ["authentication_token", "54grmVP4uzguB64u4xrp"], ["created_at", "2016-03-11 02:01:27.344583"], ["updated_at", "2016-03-11 02:01:27.344583"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m [1m[35m (0.3ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:27.366270"], ["updated_at", "2016-03-11 02:01:27.366270"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:27.383161"], ["updated_at", "2016-03-11 02:01:27.383161"]] [1m[35m (9.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.6ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test3@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.0ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms) [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xpSyXnp1ssDPxBJwYgEe"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@example.com"], ["encrypted_password", "$2a$04$Dc1C/Et37h3U1cclyWfePeOijoLteJSzI33iqqWyvBXL1RFbOfrhO"], ["confirmed_at", "2016-03-11 02:01:27.649388"], ["authentication_token", "xpSyXnp1ssDPxBJwYgEe"], ["created_at", "2016-03-11 02:01:27.653059"], ["updated_at", "2016-03-11 02:01:27.653059"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:27.671704"], ["updated_at", "2016-03-11 02:01:27.671704"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:27.688249"], ["updated_at", "2016-03-11 02:01:27.688249"]] [1m[36m (11.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test4@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:01:27.739031"], ["current_sign_in_at", "2016-03-11 02:01:27.739031"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:27.739996"], ["id", 1]] [1m[36m (12.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 13.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "iuzRFnnW1W49Qib3c7ez"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$T59y//CXM3cC05H1DRubu.bEXaHSv3tdayrlYNXep8VMLDH8YJ67u"], ["confirmed_at", "2016-03-11 02:01:27.892882"], ["authentication_token", "iuzRFnnW1W49Qib3c7ez"], ["created_at", "2016-03-11 02:01:27.896706"], ["updated_at", "2016-03-11 02:01:27.896706"]] [1m[35m (11.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:01:27.936903"], ["current_sign_in_at", "2016-03-11 02:01:27.936903"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:27.937948"], ["id", 1]] [1m[35m (10.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 10.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:27 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.4ms) [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 02:01:28.053597"], ["updated_at", "2016-03-11 02:01:28.053597"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 10.4ms | ActiveRecord: 1.9ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (14.9ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 7.0ms | ActiveRecord: 1.7ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "skLzPs2MfX5Ee6RU_3bS"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test6@example.com"], ["encrypted_password", "$2a$04$QaB3aLj6EWufV51.F8/8KeWz9K/M4XoDU7mpcLvUJ3Vn4SYu4z7EK"], ["confirmed_at", "2016-03-11 02:01:28.383512"], ["authentication_token", "skLzPs2MfX5Ee6RU_3bS"], ["created_at", "2016-03-11 02:01:28.387187"], ["updated_at", "2016-03-11 02:01:28.387187"]] [1m[35m (10.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:28.402825"], ["updated_at", "2016-03-11 02:01:28.402825"]] [1m[35m (11.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:28.417622"], ["updated_at", "2016-03-11 02:01:28.417622"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 6.9ms | ActiveRecord: 1.5ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:28.716402"], ["updated_at", "2016-03-11 02:01:28.716402"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:28.732788"], ["updated_at", "2016-03-11 02:01:28.732788"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:01:28.744458"], ["updated_at", "2016-03-11 02:01:28.745230"], ["id", 1]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:01:28.764360"], ["current_sign_in_at", "2016-03-11 02:01:28.764360"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:28.765086"], ["id", 1]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 84ms (ActiveRecord: 46.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:01:28 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.4ms) [1m[36m (11.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "PvEseLewpEFZyFEDDy4T"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$aMqt8NjtlPjSDJFSHb2ue.yxB8jz.rE0QABUx5h8PJI.OB8Nqspaq"], ["confirmed_at", "2016-03-11 02:01:28.923846"], ["authentication_token", "PvEseLewpEFZyFEDDy4T"], ["created_at", "2016-03-11 02:01:28.927529"], ["updated_at", "2016-03-11 02:01:28.927529"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:28.943803"], ["updated_at", "2016-03-11 02:01:28.943803"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:28.959075"], ["updated_at", "2016-03-11 02:01:28.959075"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "sDZzA7VnSgywaaktD5pe"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$nAr7FLyV9y.bB.TpDHgiFeP6LhAv1W/iOgKbZnsuN3KWzN2VHXkgi"], ["confirmed_at", "2016-03-11 02:01:28.973316"], ["authentication_token", "sDZzA7VnSgywaaktD5pe"], ["created_at", "2016-03-11 02:01:28.976787"], ["updated_at", "2016-03-11 02:01:28.976787"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 2], ["created_at", "2016-03-11 02:01:28.993045"], ["updated_at", "2016-03-11 02:01:28.993045"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:01:29.008991"], ["updated_at", "2016-03-11 02:01:29.008991"]] [1m[35m (12.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:01:29.031903"], ["updated_at", "2016-03-11 02:01:29.031903"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:01:29.044661"], ["updated_at", "2016-03-11 02:01:29.044661"]] [1m[35m (8.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test8@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:01:29.086944"], ["current_sign_in_at", "2016-03-11 02:01:29.086944"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:29.088145"], ["id", 2]] [1m[35m (11.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by ThingsController#index as HTML [1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 2]] Rendered things/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.3ms) [1m[36m (11.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ZQW-TByPxFrjWa23STWy"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$qkW7LENnth2OuHQOhTQdDehiJDmfHLhMwyr8WqY4MLgAua7QYRmTi"], ["confirmed_at", "2016-03-11 02:01:29.223301"], ["authentication_token", "ZQW-TByPxFrjWa23STWy"], ["created_at", "2016-03-11 02:01:29.226274"], ["updated_at", "2016-03-11 02:01:29.226274"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:29.241536"], ["updated_at", "2016-03-11 02:01:29.241536"]] [1m[36m (12.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:29.257944"], ["updated_at", "2016-03-11 02:01:29.257944"]] [1m[35m (8.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "y5-PfAQ-W2jgkyv_BDTy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$mDSLeX3q0gIYYah86HkIL.vj.NVm7XRdb/1kM6zcJBeGyKZn//bXC"], ["confirmed_at", "2016-03-11 02:01:29.270589"], ["authentication_token", "y5-PfAQ-W2jgkyv_BDTy"], ["created_at", "2016-03-11 02:01:29.274307"], ["updated_at", "2016-03-11 02:01:29.274307"]] [1m[36m (8.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 2], ["created_at", "2016-03-11 02:01:29.288807"], ["updated_at", "2016-03-11 02:01:29.288807"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:01:29.302229"], ["updated_at", "2016-03-11 02:01:29.302229"]] [1m[35m (8.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:01:29.313846"], ["updated_at", "2016-03-11 02:01:29.313846"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:01:29.327244"], ["updated_at", "2016-03-11 02:01:29.327244"]] [1m[35m (9.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test10@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:01:29.367321"], ["current_sign_in_at", "2016-03-11 02:01:29.367321"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:29.368833"], ["id", 1]] [1m[35m (10.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by ThingsController#index as HTML [1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 1]] Rendered things/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms) [1m[36m (9.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (4.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (15.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "zm2rmNs1z_As1554caKx"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$QHnozKqbzc0yKJnla5rNlulvoJks/PEsVUUCXYDexJW79sauAo13y"], ["confirmed_at", "2016-03-11 02:01:29.534811"], ["authentication_token", "zm2rmNs1z_As1554caKx"], ["created_at", "2016-03-11 02:01:29.538764"], ["updated_at", "2016-03-11 02:01:29.538764"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:29.556180"], ["updated_at", "2016-03-11 02:01:29.556180"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:29.570433"], ["updated_at", "2016-03-11 02:01:29.570433"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test13@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:01:29.613328"], ["current_sign_in_at", "2016-03-11 02:01:29.613328"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:29.614660"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 7.5ms | ActiveRecord: 1.7ms) [1m[36m (12.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ReaveGBRzt9EThjExJP5"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$Pat84z6Y7w.bpwaWWb9fDu6z8x8fccD5Msj5rqB/81UmEO2hEYTVe"], ["confirmed_at", "2016-03-11 02:01:29.763756"], ["authentication_token", "ReaveGBRzt9EThjExJP5"], ["created_at", "2016-03-11 02:01:29.768172"], ["updated_at", "2016-03-11 02:01:29.768172"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 02:01:29.785566"], ["updated_at", "2016-03-11 02:01:29.785566"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:01:29.802098"], ["updated_at", "2016-03-11 02:01:29.802098"]] [1m[35m (10.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test15@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:01:29.849284"], ["current_sign_in_at", "2016-03-11 02:01:29.849284"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:01:29.850614"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.5ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:01:29 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:05.674526"], ["updated_at", "2016-03-11 02:04:05.674526"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:05.690754"], ["updated_at", "2016-03-11 02:04:05.690754"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:04:05.704459"], ["updated_at", "2016-03-11 02:04:05.705017"], ["id", 1]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (9.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "mkPFV51ybE7s8kwYKg4J"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$prl1cDmbVaMiDqx0p5O8ge/5V0h2aY.uRt4Ymqws2L/tWzoxT1aiC"], ["confirmed_at", "2016-03-11 02:04:05.820676"], ["authentication_token", "mkPFV51ybE7s8kwYKg4J"], ["created_at", "2016-03-11 02:04:05.825630"], ["updated_at", "2016-03-11 02:04:05.825630"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:05 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:04:05.874924"], ["current_sign_in_at", "2016-03-11 02:04:05.874924"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:05.875916"], ["id", 1]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:05 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:04:05 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:05 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.3ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 02:04:05.974342"], ["updated_at", "2016-03-11 02:04:05.974342"]] [1m[35m (9.7ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:05 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (2.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (20.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.5ms) Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 9.7ms | ActiveRecord: 1.6ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "q4Z1ehBcgkxsgxn6BMSC"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$nw1jK0AqREUdq9Ec91o0TONDM/PzmVGthbN.h.QhEVszGIjxFDqZ6"], ["confirmed_at", "2016-03-11 02:04:06.155891"], ["authentication_token", "q4Z1ehBcgkxsgxn6BMSC"], ["created_at", "2016-03-11 02:04:06.159378"], ["updated_at", "2016-03-11 02:04:06.159378"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:06.175832"], ["updated_at", "2016-03-11 02:04:06.175832"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.4ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:06.190187"], ["updated_at", "2016-03-11 02:04:06.190187"]] [1m[35m (8.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 10.5ms | ActiveRecord: 1.6ms) [1m[36m (11.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.0ms) Completed 200 OK in 26ms (Views: 8.8ms | ActiveRecord: 1.8ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:06.670287"], ["updated_at", "2016-03-11 02:04:06.670287"]] [1m[35m (10.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:06.686812"], ["updated_at", "2016-03-11 02:04:06.686812"]] [1m[36m (8.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:04:06.697620"], ["updated_at", "2016-03-11 02:04:06.698150"], ["id", 1]] [1m[35m (7.6ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:04:06.712853"], ["current_sign_in_at", "2016-03-11 02:04:06.712853"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:06.713705"], ["id", 1]] [1m[35m (6.8ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 84ms (ActiveRecord: 37.5ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:06 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.5ms | ActiveRecord: 0.5ms) [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (15.5ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Y4kTKbh_TXEC8bEyhH5z"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$.uhzeOAntUs2tQyhZ.4I9uOsWeW9XhAC6AmCJ3oceTsFHWWxSma/6"], ["confirmed_at", "2016-03-11 02:04:06.883648"], ["authentication_token", "Y4kTKbh_TXEC8bEyhH5z"], ["created_at", "2016-03-11 02:04:06.887024"], ["updated_at", "2016-03-11 02:04:06.887024"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:06.903522"], ["updated_at", "2016-03-11 02:04:06.903522"]] [1m[35m (10.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:06.918628"], ["updated_at", "2016-03-11 02:04:06.918628"]] [1m[36m (7.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "QwSyUadwGsiyQxxpa9qs"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test11@example.com"], ["encrypted_password", "$2a$04$RDnzFYdNwfYDMGi1txVnKO5cfIW5ulH9EsUH5NnA.T0AntBRLNjtG"], ["confirmed_at", "2016-03-11 02:04:06.931301"], ["authentication_token", "QwSyUadwGsiyQxxpa9qs"], ["created_at", "2016-03-11 02:04:06.934591"], ["updated_at", "2016-03-11 02:04:06.934591"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 2], ["created_at", "2016-03-11 02:04:06.951160"], ["updated_at", "2016-03-11 02:04:06.951160"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:04:06.965414"], ["updated_at", "2016-03-11 02:04:06.965414"]] [1m[36m (8.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:04:06.988323"], ["updated_at", "2016-03-11 02:04:06.988323"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:04:07.001398"], ["updated_at", "2016-03-11 02:04:07.001398"]] [1m[36m (7.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test10@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:04:07.057647"], ["current_sign_in_at", "2016-03-11 02:04:07.057647"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:07.058682"], ["id", 1]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 10.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test6"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.4ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 1]] Rendered things/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.4ms) [1m[35m (18.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.7ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xFZqxPeHsjHVTv74UUjz"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$LC.8AaIbqZKBkAaLtq7ZCO5MYfv.2vcksSFPzwo69a3WN7PZfbGY."], ["confirmed_at", "2016-03-11 02:04:07.195244"], ["authentication_token", "xFZqxPeHsjHVTv74UUjz"], ["created_at", "2016-03-11 02:04:07.199356"], ["updated_at", "2016-03-11 02:04:07.199356"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:07.216323"], ["updated_at", "2016-03-11 02:04:07.216323"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:07.229769"], ["updated_at", "2016-03-11 02:04:07.229769"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "9ynhpiy-eXF9zys7Lh7z"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$jBd7us5/WPpwueIZXOV1PenHET6aENM/WRTtFWStSVfIFFfSx5OsK"], ["confirmed_at", "2016-03-11 02:04:07.242099"], ["authentication_token", "9ynhpiy-eXF9zys7Lh7z"], ["created_at", "2016-03-11 02:04:07.245562"], ["updated_at", "2016-03-11 02:04:07.245562"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 2], ["created_at", "2016-03-11 02:04:07.262962"], ["updated_at", "2016-03-11 02:04:07.262962"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:04:07.278936"], ["updated_at", "2016-03-11 02:04:07.278936"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:04:07.291710"], ["updated_at", "2016-03-11 02:04:07.291710"]] [1m[35m (8.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:04:07.303919"], ["updated_at", "2016-03-11 02:04:07.303919"]] [1m[36m (8.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test14@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:04:07.347304"], ["current_sign_in_at", "2016-03-11 02:04:07.347304"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:07.348474"], ["id", 2]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 9.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.5ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test9"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 2]] Rendered things/index.html.erb within layouts/application (0.9ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) [1m[35m (8.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "jEvcGFYbYDZ9kysL9FVQ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$ISzs8ElLHpIO6qqNra8fbuqVotSbIRN7RWIKrTf2BMWHYzFjmZt3."], ["confirmed_at", "2016-03-11 02:04:07.500868"], ["authentication_token", "jEvcGFYbYDZ9kysL9FVQ"], ["created_at", "2016-03-11 02:04:07.503913"], ["updated_at", "2016-03-11 02:04:07.503913"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:07.520831"], ["updated_at", "2016-03-11 02:04:07.520831"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:07.534606"], ["updated_at", "2016-03-11 02:04:07.534606"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "NJFWTJjfR_FwQoLxMwcR"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test17@example.com"], ["encrypted_password", "$2a$04$NN/6GBDcR0rwHP0cgtzynOV9XxmEoIBwlk.8JdcBnrjOwRRVWwXse"], ["confirmed_at", "2016-03-11 02:04:07.548776"], ["authentication_token", "NJFWTJjfR_FwQoLxMwcR"], ["created_at", "2016-03-11 02:04:07.551408"], ["updated_at", "2016-03-11 02:04:07.551408"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 2], ["created_at", "2016-03-11 02:04:07.566597"], ["updated_at", "2016-03-11 02:04:07.566597"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:04:07.580189"], ["updated_at", "2016-03-11 02:04:07.580189"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test10"]] [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test17@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.8ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.0ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "jYdqh9WeiXj8QezCmPvP"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$nu/886VVunrjM/Wvly6qc.ELZshUszUTbvx.7XsGf4qU6JllDh8Xu"], ["confirmed_at", "2016-03-11 02:04:07.723034"], ["authentication_token", "jYdqh9WeiXj8QezCmPvP"], ["created_at", "2016-03-11 02:04:07.726201"], ["updated_at", "2016-03-11 02:04:07.726201"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:07.743296"], ["updated_at", "2016-03-11 02:04:07.743296"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:07.757398"], ["updated_at", "2016-03-11 02:04:07.757398"]] [1m[35m (7.2ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test12"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test12"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test12"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test12"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test18@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:04:07.804022"], ["current_sign_in_at", "2016-03-11 02:04:07.804022"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:07.805369"], ["id", 1]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m Redirected to http://test12.example.com/ Completed 302 Found in 22ms (ActiveRecord: 11.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test12"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test12"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.5ms) [1m[36m (11.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "PU2zmNSe4QpGqCK13d8s"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$ozXoEJB1FxELHVaLlHv7mudO4rB3n/I7OPStB28DGiSyMmGYX66Xy"], ["confirmed_at", "2016-03-11 02:04:07.901170"], ["authentication_token", "PU2zmNSe4QpGqCK13d8s"], ["created_at", "2016-03-11 02:04:07.903837"], ["updated_at", "2016-03-11 02:04:07.903837"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:07.919111"], ["updated_at", "2016-03-11 02:04:07.919111"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:07.933636"], ["updated_at", "2016-03-11 02:04:07.933636"]] [1m[35m (10.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:07 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test13"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.0ms) [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "a1co3WmpUJv6LAKaN-vc"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test20@example.com"], ["encrypted_password", "$2a$04$YP.GJvaNvGT4abQxAPXor.w2LID0aPVv.2tfNzL1hQrX3185vZ3A."], ["confirmed_at", "2016-03-11 02:04:08.069643"], ["authentication_token", "a1co3WmpUJv6LAKaN-vc"], ["created_at", "2016-03-11 02:04:08.073585"], ["updated_at", "2016-03-11 02:04:08.073585"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:08.087402"], ["updated_at", "2016-03-11 02:04:08.087402"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:08.101390"], ["updated_at", "2016-03-11 02:04:08.101390"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test14"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test20@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.0ms) [1m[36m (12.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "QeDsknM8SZAqyQDBtNWY"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$q3cVqInvSvL/rmqTSAPkDOkWxobxJL2PYExV2uUT7hzEFB3uc.OFq"], ["confirmed_at", "2016-03-11 02:04:08.274880"], ["authentication_token", "QeDsknM8SZAqyQDBtNWY"], ["created_at", "2016-03-11 02:04:08.278424"], ["updated_at", "2016-03-11 02:04:08.278424"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:08.293703"], ["updated_at", "2016-03-11 02:04:08.293703"]] [1m[36m (7.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:08.305426"], ["updated_at", "2016-03-11 02:04:08.305426"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test21@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:04:08.343682"], ["current_sign_in_at", "2016-03-11 02:04:08.343682"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:08.344561"], ["id", 1]] [1m[35m (11.0ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.5ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "_4f-V_nHDz8pzZD-CPkS"]] [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$AuHqEM6S0.YjB4B3GsOaQurbvdi6PqKTjHP/4gdmBVmy/Hng6X0DO"], ["confirmed_at", "2016-03-11 02:04:08.449823"], ["authentication_token", "_4f-V_nHDz8pzZD-CPkS"], ["created_at", "2016-03-11 02:04:08.452778"], ["updated_at", "2016-03-11 02:04:08.452778"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:08.467579"], ["updated_at", "2016-03-11 02:04:08.467579"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:08.481396"], ["updated_at", "2016-03-11 02:04:08.481396"]] [1m[35m (11.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test23@example.com"]] Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.0ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "YWWpZRNaPd3wUxuZyQmE"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$kGy0f6FyTdXcEyC57JNi7.IUKlRxdbNeuqEn31XJvx0y1ursEj7NC"], ["confirmed_at", "2016-03-11 02:04:08.649638"], ["authentication_token", "YWWpZRNaPd3wUxuZyQmE"], ["created_at", "2016-03-11 02:04:08.652266"], ["updated_at", "2016-03-11 02:04:08.652266"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:04:08.689098"], ["current_sign_in_at", "2016-03-11 02:04:08.689098"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:08.690161"], ["id", 1]] [1m[35m (9.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 10.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.3ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.0ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) [1m[35m (10.6ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:04:08 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) [1m[35m (10.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (1.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "8_LxVyGsarw98Fyr4BFc"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test24@example.com"], ["encrypted_password", "$2a$04$cHdVJyuQ5KJv75XngihYyumXIJmPxHIER6GQ5PRFQoHlxb5hx0CjK"], ["confirmed_at", "2016-03-11 02:04:09.038852"], ["authentication_token", "8_LxVyGsarw98Fyr4BFc"], ["created_at", "2016-03-11 02:04:09.043254"], ["updated_at", "2016-03-11 02:04:09.043254"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-11 02:04:09.059404"], ["updated_at", "2016-03-11 02:04:09.059404"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:04:09.073975"], ["updated_at", "2016-03-11 02:04:09.073975"]] [1m[36m (7.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:09 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:09 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test24@example.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:04:09.109559"], ["current_sign_in_at", "2016-03-11 02:04:09.109559"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:04:09.110822"], ["id", 1]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:09 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.4ms) [1m[35m (9.8ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:04:09 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:04:09 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (23.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "o-CHtXvgQsU_3o3dTJwS"]] [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$a3jV0wOezj.7SIplv3XR7.F8yYXmiJuVefW90kUuu/zQDFOsyutvq"], ["confirmed_at", "2016-03-11 02:25:07.121969"], ["authentication_token", "o-CHtXvgQsU_3o3dTJwS"], ["created_at", "2016-03-11 02:25:07.230945"], ["updated_at", "2016-03-11 02:25:07.230945"]] [1m[35m (14.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:07.283110"], ["updated_at", "2016-03-11 02:25:07.283110"]] [1m[35m (16.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:07.396941"], ["updated_at", "2016-03-11 02:25:07.396941"]] [1m[36m (15.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:07 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (3.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (297.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (1.4ms) Completed 200 OK in 804ms (Views: 774.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:08.278442"], ["current_sign_in_at", "2016-03-11 02:25:08.278442"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:08.280049"], ["id", 1]] [1m[36m (14.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 66ms (ActiveRecord: 15.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:08 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (11.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 36ms (Views: 24.1ms | ActiveRecord: 0.8ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:25:08 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (9.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:08 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:10.407207"], ["updated_at", "2016-03-11 02:25:10.407207"]] [1m[36m (12.8ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:10.425863"], ["updated_at", "2016-03-11 02:25:10.425863"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:25:10.438406"], ["updated_at", "2016-03-11 02:25:10.439203"], ["id", 1]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (12.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "J3bzCJqGTCfy5iS7p5oU"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$rV2ySb1LYEJD3e9SLTDRde4quWruA6w1YlKq3tvJqsckBmIWFMAw."], ["confirmed_at", "2016-03-11 02:25:10.572250"], ["authentication_token", "J3bzCJqGTCfy5iS7p5oU"], ["created_at", "2016-03-11 02:25:10.575682"], ["updated_at", "2016-03-11 02:25:10.575682"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:10.612731"], ["current_sign_in_at", "2016-03-11 02:25:10.612731"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:10.613766"], ["id", 1]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 10.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.4ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (21.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 26.6ms | ActiveRecord: 0.0ms) [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (2.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (11.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 15.1ms | ActiveRecord: 0.0ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:10 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "v_ssi1ZSez_Vmo3nUQes"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$ghnK.tGz.L4joQcus2xwJOze4hcj2n09W4Cv6Su167a2zEZERzysW"], ["confirmed_at", "2016-03-11 02:25:11.036858"], ["authentication_token", "v_ssi1ZSez_Vmo3nUQes"], ["created_at", "2016-03-11 02:25:11.041152"], ["updated_at", "2016-03-11 02:25:11.041152"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:11.058363"], ["updated_at", "2016-03-11 02:25:11.058363"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:11.070092"], ["updated_at", "2016-03-11 02:25:11.070092"]] [1m[35m (8.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.3ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test9@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:25:11.110376"], ["current_sign_in_at", "2016-03-11 02:25:11.110376"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:11.111260"], ["id", 1]] [1m[35m (9.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 10.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.4ms) [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "3rUCSasN_bQuz1kVR5Y_"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$jfLrsXk6CzsGYSsM4Yvgbed//JR37YT8ugonABDOhWuxc32LlnCH2"], ["confirmed_at", "2016-03-11 02:25:11.231550"], ["authentication_token", "3rUCSasN_bQuz1kVR5Y_"], ["created_at", "2016-03-11 02:25:11.234471"], ["updated_at", "2016-03-11 02:25:11.234471"]] [1m[36m (14.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:11.254645"], ["updated_at", "2016-03-11 02:25:11.254645"]] [1m[36m (14.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:11.273492"], ["updated_at", "2016-03-11 02:25:11.273492"]] [1m[35m (13.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test11@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.5ms) Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms) [1m[35m (15.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (14.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (15.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (15.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (15.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (16.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (15.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (15.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (17.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (18.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (16.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (21.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (18.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (18.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (19.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (18.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (18.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "tA618J8tUMK4p8FknC-x"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$2zT8I.qPNuRV6sxfkacCWuZMO3ZBkYi.r1D17i79yhhX1sX5Dzv9O"], ["confirmed_at", "2016-03-11 02:25:11.685689"], ["authentication_token", "tA618J8tUMK4p8FknC-x"], ["created_at", "2016-03-11 02:25:11.690114"], ["updated_at", "2016-03-11 02:25:11.690114"]] [1m[35m (21.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:11.718650"], ["updated_at", "2016-03-11 02:25:11.718650"]] [1m[35m (18.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:11.743176"], ["updated_at", "2016-03-11 02:25:11.743176"]] [1m[36m (14.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ginob7xUp-3MT5iTfWLz"]] [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$DR8x9mzsL4K0OBkOUhyBwuNAvRdqxyqlCueqjRTOnGH5xBx6mqhj."], ["confirmed_at", "2016-03-11 02:25:11.763240"], ["authentication_token", "ginob7xUp-3MT5iTfWLz"], ["created_at", "2016-03-11 02:25:11.767692"], ["updated_at", "2016-03-11 02:25:11.767692"]] [1m[35m (17.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 2], ["created_at", "2016-03-11 02:25:11.793342"], ["updated_at", "2016-03-11 02:25:11.793342"]] [1m[35m (16.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:25:11.815551"], ["updated_at", "2016-03-11 02:25:11.815551"]] [1m[36m (14.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:25:11.841815"], ["updated_at", "2016-03-11 02:25:11.841815"]] [1m[35m (7.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:25:11.852287"], ["updated_at", "2016-03-11 02:25:11.852287"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (5.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test12@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:11.899080"], ["current_sign_in_at", "2016-03-11 02:25:11.899080"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:11.899993"], ["id", 1]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 10.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:25:11 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test7"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.4ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 1]] Rendered things/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.4ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "p-C5s5g2E7qy8SacXrjm"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test15@example.com"], ["encrypted_password", "$2a$04$ptgfc3q8Nhf5.Y9nODuuOeXrtc2Hy26bUoa/TnguxfJwMpaldGq6i"], ["confirmed_at", "2016-03-11 02:25:12.044680"], ["authentication_token", "p-C5s5g2E7qy8SacXrjm"], ["created_at", "2016-03-11 02:25:12.048979"], ["updated_at", "2016-03-11 02:25:12.048979"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:12.065606"], ["updated_at", "2016-03-11 02:25:12.065606"]] [1m[35m (12.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:12.083011"], ["updated_at", "2016-03-11 02:25:12.083011"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "CQdsM35yUXqQsF3LCHho"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$.PuLDqLI2.Yxshc.qB8F6OUPib9xh/QcBUK7alrFa2Fr1R3iBHCfy"], ["confirmed_at", "2016-03-11 02:25:12.097605"], ["authentication_token", "CQdsM35yUXqQsF3LCHho"], ["created_at", "2016-03-11 02:25:12.101176"], ["updated_at", "2016-03-11 02:25:12.101176"]] [1m[35m (11.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 2], ["created_at", "2016-03-11 02:25:12.119459"], ["updated_at", "2016-03-11 02:25:12.119459"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:25:12.134001"], ["updated_at", "2016-03-11 02:25:12.134001"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:25:12.148576"], ["updated_at", "2016-03-11 02:25:12.148576"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:25:12.162998"], ["updated_at", "2016-03-11 02:25:12.162998"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test16@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:12.204854"], ["current_sign_in_at", "2016-03-11 02:25:12.204854"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:12.205838"], ["id", 2]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 14.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.5ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 2]] Rendered things/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.1ms)[0m DELETE FROM "things"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "TG-B6o-yByKZTeaeHZ8v"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test18@example.com"], ["encrypted_password", "$2a$04$40EbztB44rDcb8.yuVx3s.tXkVzPAIKQf4c.JP5t/dihX4tQbLy9G"], ["confirmed_at", "2016-03-11 02:25:12.387430"], ["authentication_token", "TG-B6o-yByKZTeaeHZ8v"], ["created_at", "2016-03-11 02:25:12.391739"], ["updated_at", "2016-03-11 02:25:12.391739"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:12.409413"], ["updated_at", "2016-03-11 02:25:12.409413"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:12.423283"], ["updated_at", "2016-03-11 02:25:12.423283"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test18@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:12.464154"], ["current_sign_in_at", "2016-03-11 02:25:12.464154"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:12.465006"], ["id", 1]] [1m[36m (15.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 16.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms) [1m[35m (12.4ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 0.0ms) [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "uZzfNCCKhqmBysVnsq6w"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test20@example.com"], ["encrypted_password", "$2a$04$KUGaU6ASa84if1VvGRhgwuwYome99KrXGtyj2Z1g9EN13rIqkw.ce"], ["confirmed_at", "2016-03-11 02:25:12.718644"], ["authentication_token", "uZzfNCCKhqmBysVnsq6w"], ["created_at", "2016-03-11 02:25:12.722008"], ["updated_at", "2016-03-11 02:25:12.722008"]] [1m[35m (13.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:12.741802"], ["updated_at", "2016-03-11 02:25:12.741802"]] [1m[35m (8.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:12.755719"], ["updated_at", "2016-03-11 02:25:12.755719"]] [1m[36m (15.7ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test20@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 8.1ms | ActiveRecord: 1.8ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 02:25:12.922942"], ["updated_at", "2016-03-11 02:25:12.922942"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:12 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 7.2ms | ActiveRecord: 1.7ms) [1m[35m (13.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:13 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:13 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:13 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "XWjEe3_6jukRGHNr-Jq9"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "d6801a45b2c53417a0597c30b972f2c519ceca9b24d9c416598e613119375a94"]] [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$ZPIBjDY/DQYDL5E2FHt4ZOyg03zgS/MBVuYjC6FWTl0HKklHYCCHu"], ["authentication_token", "XWjEe3_6jukRGHNr-Jq9"], ["created_at", "2016-03-11 02:25:13.116041"], ["updated_at", "2016-03-11 02:25:13.116041"], ["confirmation_token", "5Mkyxa5Ks6tZ9ssMUy4s"], ["confirmation_sent_at", "2016-03-11 02:25:13.117471"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (5.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 7.8ms Sent mail to mtdevise@example.com (4.0ms) Date: Fri, 11 Mar 2016 02:25:13 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e22c89204b5_ddb9b10e04842@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:13.135144"], ["updated_at", "2016-03-11 02:25:13.135144"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:13.150494"], ["updated_at", "2016-03-11 02:25:13.150494"]] [1m[35m (8.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:25:13.160324"], ["updated_at", "2016-03-11 02:25:13.160954"], ["id", 1]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:13.176859"], ["current_sign_in_at", "2016-03-11 02:25:13.176859"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:13.177601"], ["id", 1]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 85ms (ActiveRecord: 40.0ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:13 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.4ms) [1m[36m (10.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:13 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:13 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:13 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:45.099418"], ["updated_at", "2016-03-11 02:25:45.099418"]] [1m[36m (20.0ms)[0m [1mcommit transaction[0m [1m[35m (1.3ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:45.181467"], ["updated_at", "2016-03-11 02:25:45.181467"]] [1m[35m (20.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:25:45.206670"], ["updated_at", "2016-03-11 02:25:45.208035"], ["id", 1]] [1m[36m (22.6ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:45.263017"], ["current_sign_in_at", "2016-03-11 02:25:45.263017"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:45.264286"], ["id", 1]] [1m[36m (8.6ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 866ms (ActiveRecord: 78.0ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (2.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 19ms (Views: 15.4ms | ActiveRecord: 0.6ms) [1m[36m (17.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (17.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (20.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (14.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (18.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "QTzuiJPZe8Qi57PeUBsP"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$.AOCn0/fDM1n31dU3Acxje/qa1UJxVz8N5d/kNoCZS4NNZR5MQfE6"], ["confirmed_at", "2016-03-11 02:25:45.429579"], ["authentication_token", "QTzuiJPZe8Qi57PeUBsP"], ["created_at", "2016-03-11 02:25:45.433867"], ["updated_at", "2016-03-11 02:25:45.433867"]] [1m[36m (11.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:45.453306"], ["updated_at", "2016-03-11 02:25:45.453306"]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:45.471386"], ["updated_at", "2016-03-11 02:25:45.471386"]] [1m[35m (10.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 9.6ms | ActiveRecord: 1.7ms) [1m[36m (12.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 9.5ms | ActiveRecord: 2.0ms) [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (1.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 02:25:45.769232"], ["updated_at", "2016-03-11 02:25:45.769232"]] [1m[35m (12.9ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.5ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 28ms (Views: 9.7ms | ActiveRecord: 2.1ms) [1m[36m (11.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "n7_wHkPfCX2j6dPKcpj8"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$t7hnapoxMDlRhL9v4n20NOsMi7WHHwkMbo38HK5F0jOjkJ28fqnwi"], ["confirmed_at", "2016-03-11 02:25:45.916268"], ["authentication_token", "n7_wHkPfCX2j6dPKcpj8"], ["created_at", "2016-03-11 02:25:45.919393"], ["updated_at", "2016-03-11 02:25:45.919393"]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:45.963057"], ["current_sign_in_at", "2016-03-11 02:25:45.963057"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:45.964266"], ["id", 1]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:25:45 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) [1m[36m (13.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "_ZGjDq9jeCxsn_uV7RhE"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test2@example.com"], ["encrypted_password", "$2a$04$b5EAeCryik5YhVhT4QlFGer7jRwNGipCyZy2FqP4kMQ59o3iHmHla"], ["confirmed_at", "2016-03-11 02:25:46.124139"], ["authentication_token", "_ZGjDq9jeCxsn_uV7RhE"], ["created_at", "2016-03-11 02:25:46.127378"], ["updated_at", "2016-03-11 02:25:46.127378"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:46.143302"], ["updated_at", "2016-03-11 02:25:46.143302"]] [1m[36m (20.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:46.168429"], ["updated_at", "2016-03-11 02:25:46.168429"]] [1m[35m (13.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test2@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:25:46.209226"], ["current_sign_in_at", "2016-03-11 02:25:46.209226"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:46.210654"], ["id", 1]] [1m[35m (10.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.4ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) [1m[36m (14.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "ZVgnCCTuDiSByPkxoiqZ"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$QVRIceV2xgw0/TmOjmAA9.ArBs57n8rOzQfFwoXYA7jXYYug6ITxS"], ["confirmed_at", "2016-03-11 02:25:46.450336"], ["authentication_token", "ZVgnCCTuDiSByPkxoiqZ"], ["created_at", "2016-03-11 02:25:46.453269"], ["updated_at", "2016-03-11 02:25:46.453269"]] [1m[36m (15.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:46.475057"], ["updated_at", "2016-03-11 02:25:46.475057"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:46.490671"], ["updated_at", "2016-03-11 02:25:46.490671"]] [1m[35m (10.2ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test3"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test4@example.com"]] Completed 401 Unauthorized in 6ms (ActiveRecord: 0.8ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.0ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (13.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "M29M2sS8f6rkMkPikHB7"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$szHCawpSD3IZdQvoYJnyh.FvUKNTzyqt9RZdT95L89tZFUeh97jwC"], ["confirmed_at", "2016-03-11 02:25:46.633683"], ["authentication_token", "M29M2sS8f6rkMkPikHB7"], ["created_at", "2016-03-11 02:25:46.636857"], ["updated_at", "2016-03-11 02:25:46.636857"]] [1m[35m (11.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:46.654178"], ["updated_at", "2016-03-11 02:25:46.654178"]] [1m[35m (8.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:46.666735"], ["updated_at", "2016-03-11 02:25:46.666735"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Wjsy8BTzN4SsZeRykxar"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test6@example.com"], ["encrypted_password", "$2a$04$mcUeBmnoQXm2cLcZqs0ACOTzb3rzFGI4IxUbgy/9saaaFbGBOJ17a"], ["confirmed_at", "2016-03-11 02:25:46.682734"], ["authentication_token", "Wjsy8BTzN4SsZeRykxar"], ["created_at", "2016-03-11 02:25:46.687192"], ["updated_at", "2016-03-11 02:25:46.687192"]] [1m[35m (14.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 2], ["created_at", "2016-03-11 02:25:46.706937"], ["updated_at", "2016-03-11 02:25:46.706937"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:25:46.720814"], ["updated_at", "2016-03-11 02:25:46.720814"]] [1m[36m (11.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test4"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test6@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.0ms) [1m[36m (12.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.5ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "3YR2diyUc-SZAdiq6ME6"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$4TyXmmqcLQIcithsKg4vsODj7UurvnsJA4TQ7CHUhYsTkL7ahlrIm"], ["confirmed_at", "2016-03-11 02:25:46.877164"], ["authentication_token", "3YR2diyUc-SZAdiq6ME6"], ["created_at", "2016-03-11 02:25:46.881156"], ["updated_at", "2016-03-11 02:25:46.881156"]] [1m[36m (16.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:46.904063"], ["updated_at", "2016-03-11 02:25:46.904063"]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:46.920885"], ["updated_at", "2016-03-11 02:25:46.920885"]] [1m[35m (16.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:46 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test6"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test7@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:46.977944"], ["current_sign_in_at", "2016-03-11 02:25:46.977944"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:46.978789"], ["id", 1]] [1m[36m (33.1ms)[0m [1mcommit transaction[0m Redirected to http://test6.example.com/ Completed 302 Found in 44ms (ActiveRecord: 34.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test6"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test6"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) [1m[36m (18.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (13.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (13.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "EmsDUZyDA7c4qZC2AHSy"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$OCsMjDDliYMNE3UvI8Gv3.Bn1LODtWyMzi/75oStdrnW6.I2JK8k2"], ["confirmed_at", "2016-03-11 02:25:47.127596"], ["authentication_token", "EmsDUZyDA7c4qZC2AHSy"], ["created_at", "2016-03-11 02:25:47.130990"], ["updated_at", "2016-03-11 02:25:47.130990"]] [1m[36m (17.2ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:47.158881"], ["updated_at", "2016-03-11 02:25:47.158881"]] [1m[36m (14.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:47.180222"], ["updated_at", "2016-03-11 02:25:47.180222"]] [1m[35m (13.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test7"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.0ms) [1m[35m (14.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (15.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.8ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (13.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "DNcwwPP-icjz79chVU6s"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test9@example.com"], ["encrypted_password", "$2a$04$WP7pn2K.c8HqfV1VC5YbBOx.LaiyG11kofOBBH.vqHQTJctrGxt/C"], ["confirmed_at", "2016-03-11 02:25:47.399094"], ["authentication_token", "DNcwwPP-icjz79chVU6s"], ["created_at", "2016-03-11 02:25:47.403401"], ["updated_at", "2016-03-11 02:25:47.403401"]] [1m[35m (15.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:47.427780"], ["updated_at", "2016-03-11 02:25:47.427780"]] [1m[35m (13.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:47.444987"], ["updated_at", "2016-03-11 02:25:47.444987"]] [1m[36m (13.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "RBbrzxJB9WYvYxc185jx"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$QD.5Hi66ztJ/MhKEDKKlsu1F4RQHfJJpov.udmw0..JDHuLWHWnE."], ["confirmed_at", "2016-03-11 02:25:47.462509"], ["authentication_token", "RBbrzxJB9WYvYxc185jx"], ["created_at", "2016-03-11 02:25:47.465100"], ["updated_at", "2016-03-11 02:25:47.465100"]] [1m[35m (13.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 2], ["created_at", "2016-03-11 02:25:47.484271"], ["updated_at", "2016-03-11 02:25:47.484271"]] [1m[35m (12.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:25:47.501695"], ["updated_at", "2016-03-11 02:25:47.501695"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:25:47.522215"], ["updated_at", "2016-03-11 02:25:47.522215"]] [1m[35m (12.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:25:47.537223"], ["updated_at", "2016-03-11 02:25:47.537223"]] [1m[36m (15.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test9@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:47.579163"], ["current_sign_in_at", "2016-03-11 02:25:47.579163"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:47.580175"], ["id", 1]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 13.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test8"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.4ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 1]] Rendered things/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.4ms) [1m[35m (14.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.6ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.7ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "3yKf5EVrssjM9WMFygqQ"]] [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$IKHyBZwOA3J/Xgountegg.x8LOlYt8vteXandEDq0ZwZYgyYgwXlq"], ["confirmed_at", "2016-03-11 02:25:47.743727"], ["authentication_token", "3yKf5EVrssjM9WMFygqQ"], ["created_at", "2016-03-11 02:25:47.747199"], ["updated_at", "2016-03-11 02:25:47.747199"]] [1m[35m (13.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:47.768523"], ["updated_at", "2016-03-11 02:25:47.768523"]] [1m[35m (13.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:47.786154"], ["updated_at", "2016-03-11 02:25:47.786154"]] [1m[36m (8.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "m7VzBeT_qfWpUYYiih2B"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$M2qb9wcdJJiSUIVPWCg3GOc92ItravAnQBRSQyrP9CejJoIG8HrB."], ["confirmed_at", "2016-03-11 02:25:47.798560"], ["authentication_token", "m7VzBeT_qfWpUYYiih2B"], ["created_at", "2016-03-11 02:25:47.801918"], ["updated_at", "2016-03-11 02:25:47.801918"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 2], ["created_at", "2016-03-11 02:25:47.818031"], ["updated_at", "2016-03-11 02:25:47.818031"]] [1m[35m (12.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:25:47.835759"], ["updated_at", "2016-03-11 02:25:47.835759"]] [1m[36m (12.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:25:47.851815"], ["updated_at", "2016-03-11 02:25:47.851815"]] [1m[35m (13.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:25:47.867330"], ["updated_at", "2016-03-11 02:25:47.867330"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test13@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:25:47.904545"], ["current_sign_in_at", "2016-03-11 02:25:47.904545"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:47.905474"], ["id", 2]] [1m[36m (12.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 13.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.5ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:25:47 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test11"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 2]] Rendered things/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "DjsXPkGSd2yv2EXGwHza"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "dd7c4746e8919c8cad8bdb879a869d720580838a81d5651a0b20b91b21395f96"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "user@example.com"], ["encrypted_password", "$2a$04$pIiAoxfjcaifPSvluRnfMuvyCXzL1iX3KqPFUXrKuiR5OEbi3k7Zq"], ["authentication_token", "DjsXPkGSd2yv2EXGwHza"], ["created_at", "2016-03-11 02:25:48.093221"], ["updated_at", "2016-03-11 02:25:48.093221"], ["confirmation_token", "_nfx6Bij464YzgtRk93-"], ["confirmation_sent_at", "2016-03-11 02:25:48.094152"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.6ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 5.6ms Sent mail to user@example.com (2.8ms) Date: Fri, 11 Mar 2016 02:25:48 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e22cac19228_de512e90e0335be@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:48.104823"], ["updated_at", "2016-03-11 02:25:48.104823"]] [1m[36m (13.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:48.122175"], ["updated_at", "2016-03-11 02:25:48.122175"]] [1m[35m (8.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:25:48.131854"], ["updated_at", "2016-03-11 02:25:48.132549"], ["id", 1]] [1m[36m (13.0ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (15.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "DTJF7ABpm9Jrq3i2fsFY"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$ere3xL.OBqkXvFUVx6Bb0uAD8HNI944CnYl.eCew/mtcUx8mHlQsy"], ["confirmed_at", "2016-03-11 02:25:48.288157"], ["authentication_token", "DTJF7ABpm9Jrq3i2fsFY"], ["created_at", "2016-03-11 02:25:48.291682"], ["updated_at", "2016-03-11 02:25:48.291682"]] [1m[36m (12.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:48.310282"], ["updated_at", "2016-03-11 02:25:48.310282"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:48.324646"], ["updated_at", "2016-03-11 02:25:48.324646"]] [1m[35m (12.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test15@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:25:48.365337"], ["current_sign_in_at", "2016-03-11 02:25:48.365337"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:48.366272"], ["id", 1]] [1m[35m (11.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 12.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test12"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 6.5ms | ActiveRecord: 1.6ms) [1m[36m (16.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "qfNYwppzxxuaCFs8-quZ"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test17@example.com"], ["encrypted_password", "$2a$04$j8QQhhrMLgSSyQ.XVBtMK.BZOnrXGsZHsdwmQISPrhrUJbB9Nv5/C"], ["confirmed_at", "2016-03-11 02:25:48.530610"], ["authentication_token", "qfNYwppzxxuaCFs8-quZ"], ["created_at", "2016-03-11 02:25:48.533563"], ["updated_at", "2016-03-11 02:25:48.533563"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:48.552703"], ["updated_at", "2016-03-11 02:25:48.552703"]] [1m[36m (13.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:48.570969"], ["updated_at", "2016-03-11 02:25:48.570969"]] [1m[35m (10.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test17@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:25:48.607787"], ["current_sign_in_at", "2016-03-11 02:25:48.607787"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:48.609261"], ["id", 1]] [1m[35m (11.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 6.2ms | ActiveRecord: 1.6ms) [1m[36m (13.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (14.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (1.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "3uctSeUqzzGDcEDcErzi"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$Uu125jquIiN9tOxaHCWSuuV2jKlppUOiPCj0uU27R4x0sHQHqqXUm"], ["confirmed_at", "2016-03-11 02:25:48.766987"], ["authentication_token", "3uctSeUqzzGDcEDcErzi"], ["created_at", "2016-03-11 02:25:48.772081"], ["updated_at", "2016-03-11 02:25:48.772081"]] [1m[36m (12.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:48.792371"], ["updated_at", "2016-03-11 02:25:48.792371"]] [1m[36m (12.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:48.808773"], ["updated_at", "2016-03-11 02:25:48.808773"]] [1m[35m (14.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test19@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:25:48.850826"], ["current_sign_in_at", "2016-03-11 02:25:48.850826"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:48.852014"], ["id", 1]] [1m[35m (12.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 13.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.5ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["created_at", "2016-03-11 02:25:48.918991"], ["updated_at", "2016-03-11 02:25:48.918991"]] [1m[35m (13.3ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 1], ["created_at", "2016-03-11 02:25:48.939964"], ["updated_at", "2016-03-11 02:25:48.939964"]] [1m[35m (13.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ?[0m [["owner_id", 1], ["updated_at", "2016-03-11 02:25:48.960300"], ["id", 2]] [1m[35m (12.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 64ms (ActiveRecord: 42.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:48 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.3ms) [1m[36m (13.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (12.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (15.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (17.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (13.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "1EihjJTLfePSZs-S47of"]] [1m[35mSQL (1.0ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$W0ZQvQ6z/RyQAxDyHa5zaOxnrqpB9XWofej9dhnrSYSm1alOXkXvq"], ["confirmed_at", "2016-03-11 02:25:49.090638"], ["authentication_token", "1EihjJTLfePSZs-S47of"], ["created_at", "2016-03-11 02:25:49.094611"], ["updated_at", "2016-03-11 02:25:49.094611"]] [1m[36m (13.8ms)[0m [1mcommit transaction[0m [1m[35m (0.6ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 02:25:49.116592"], ["updated_at", "2016-03-11 02:25:49.116592"]] [1m[36m (15.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:25:49.137188"], ["updated_at", "2016-03-11 02:25:49.137188"]] [1m[35m (8.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:49 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:25:49 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test21@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:25:49.179910"], ["current_sign_in_at", "2016-03-11 02:25:49.179910"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:25:49.181284"], ["id", 1]] [1m[35m (12.6ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 13.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:25:49 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.1ms | ActiveRecord: 0.7ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:25:49 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:25:49 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:29:33.375130"], ["updated_at", "2016-03-11 02:29:33.375130"]] [1m[35m (15.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (6.0ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:29:33.397180"], ["updated_at", "2016-03-11 02:29:33.397180"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:29:33.418087"], ["updated_at", "2016-03-11 02:29:33.418761"], ["id", 1]] [1m[35m (9.7ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:29:33.438308"], ["current_sign_in_at", "2016-03-11 02:29:33.438308"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:29:33.439092"], ["id", 1]] [1m[35m (9.3ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 1056ms (ActiveRecord: 55.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:29:33 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 0.6ms) [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:29:33 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:29:33 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (7.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:29:33 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:29:34.828825"], ["updated_at", "2016-03-11 02:29:34.828825"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:29:34.846649"], ["updated_at", "2016-03-11 02:29:34.846649"]] [1m[35m (10.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:29:34.859718"], ["updated_at", "2016-03-11 02:29:34.860500"], ["id", 1]] [1m[36m (12.5ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (9.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "-DNsk5dTttWfTuiepDqN"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$.eqo6wxnSEeiOjdNlukO6euOflWFzw9nmOu.WnxsL/Ql83BpIBisy"], ["confirmed_at", "2016-03-11 02:29:34.994278"], ["authentication_token", "-DNsk5dTttWfTuiepDqN"], ["created_at", "2016-03-11 02:29:34.997825"], ["updated_at", "2016-03-11 02:29:34.997825"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 02:29:35.014584"], ["updated_at", "2016-03-11 02:29:35.014584"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:29:35.029105"], ["updated_at", "2016-03-11 02:29:35.029105"]] [1m[35m (12.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:29:35 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:29:35 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test15@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:29:35.068860"], ["current_sign_in_at", "2016-03-11 02:29:35.068860"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:29:35.069812"], ["id", 1]] [1m[35m (14.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 15.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:29:35 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:29:35 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:29:35 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:27.804283"], ["updated_at", "2016-03-11 02:32:27.804283"]] [1m[36m (16.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:27.827763"], ["updated_at", "2016-03-11 02:32:27.827763"]] [1m[35m (12.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:32:27.842920"], ["updated_at", "2016-03-11 02:32:27.843978"], ["id", 1]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:32:27.865853"], ["current_sign_in_at", "2016-03-11 02:32:27.865853"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:27.866660"], ["id", 1]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 807ms (ActiveRecord: 54.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:27 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 20ms (Views: 15.9ms | ActiveRecord: 0.7ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "9xwGKmXfTgiGyDTL5pWn"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$1SG6DrDmIhioeheGzjDXi.gfJ8hwCjJSh1F6NVwPcP49pns2C0io."], ["confirmed_at", "2016-03-11 02:32:27.991143"], ["authentication_token", "9xwGKmXfTgiGyDTL5pWn"], ["created_at", "2016-03-11 02:32:27.995269"], ["updated_at", "2016-03-11 02:32:27.995269"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.2ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (38.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 55ms (Views: 50.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:32:28.086265"], ["current_sign_in_at", "2016-03-11 02:32:28.086265"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:28.087631"], ["id", 1]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 48ms (ActiveRecord: 12.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (11.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 19.1ms | ActiveRecord: 0.7ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms) [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "g3UfsAXHo2mieKfvG9yN"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test2@example.com"], ["encrypted_password", "$2a$04$Pt/CxsW0NgcEH7a/4czT5uMKYx0PgmPCK3coe6FGGQoORYAEueB4G"], ["confirmed_at", "2016-03-11 02:32:28.300503"], ["authentication_token", "g3UfsAXHo2mieKfvG9yN"], ["created_at", "2016-03-11 02:32:28.303843"], ["updated_at", "2016-03-11 02:32:28.303843"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:28.320124"], ["updated_at", "2016-03-11 02:32:28.320124"]] [1m[36m (8.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:28.333706"], ["updated_at", "2016-03-11 02:32:28.333706"]] [1m[35m (7.5ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test2"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test2"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test2"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test2"]] [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test2@example.com"]] Completed 401 Unauthorized in 8ms (ActiveRecord: 1.1ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test2"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.0ms) [1m[35m (11.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Tm71_gPG-R2mazAHavkp"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$VmILsSA7bxtoMHHFdjgpjO5vKDvNgeltZYy629LSC07bm4YvHeMEi"], ["confirmed_at", "2016-03-11 02:32:28.479777"], ["authentication_token", "Tm71_gPG-R2mazAHavkp"], ["created_at", "2016-03-11 02:32:28.483461"], ["updated_at", "2016-03-11 02:32:28.483461"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:28.502278"], ["updated_at", "2016-03-11 02:32:28.502278"]] [1m[35m (7.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:28.514251"], ["updated_at", "2016-03-11 02:32:28.514251"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test3"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test3"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test3@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:28.565825"], ["current_sign_in_at", "2016-03-11 02:32:28.565825"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:28.566994"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://test3.example.com/ Completed 302 Found in 23ms (ActiveRecord: 11.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test3"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test3"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) [1m[35m (9.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "VyKR8YgS-tWpopZsY35y"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@example.com"], ["encrypted_password", "$2a$04$q8.XhcDw579CicYCV1ay1OxwkBot3CcJg1TdCGQLxuVnaWxXo/ZlS"], ["confirmed_at", "2016-03-11 02:32:28.658426"], ["authentication_token", "VyKR8YgS-tWpopZsY35y"], ["created_at", "2016-03-11 02:32:28.661855"], ["updated_at", "2016-03-11 02:32:28.661855"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:28.674784"], ["updated_at", "2016-03-11 02:32:28.674784"]] [1m[35m (7.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:28.686959"], ["updated_at", "2016-03-11 02:32:28.686959"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test4"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test4"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test4"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 0.0ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "5bZM8cKUyn9yZktRLgU6"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$o9/plYex2rZBF67pwwhBq.UxZex91h385AiXWdFZBCAWneHjFN1TC"], ["confirmed_at", "2016-03-11 02:32:28.814938"], ["authentication_token", "5bZM8cKUyn9yZktRLgU6"], ["created_at", "2016-03-11 02:32:28.818514"], ["updated_at", "2016-03-11 02:32:28.818514"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:28.834568"], ["updated_at", "2016-03-11 02:32:28.834568"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:28.848485"], ["updated_at", "2016-03-11 02:32:28.848485"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "QVXJ_qtzF6rp2wEM1Hor"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$elLhyRfHoTJ.2/5DPuZhOuKpol8PaLZ143v.0A1kaMEziVyl.HBX2"], ["confirmed_at", "2016-03-11 02:32:28.862195"], ["authentication_token", "QVXJ_qtzF6rp2wEM1Hor"], ["created_at", "2016-03-11 02:32:28.865089"], ["updated_at", "2016-03-11 02:32:28.865089"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 2], ["created_at", "2016-03-11 02:32:28.882009"], ["updated_at", "2016-03-11 02:32:28.882009"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:32:28.893835"], ["updated_at", "2016-03-11 02:32:28.893835"]] [1m[35m (7.7ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test5"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test5"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test5"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test5"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:28 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test5"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test5"]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test5"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test6@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test5"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.0ms) [1m[35m (10.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.2ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 15ms (Views: 11.9ms | ActiveRecord: 0.0ms) [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "HX3tgwXF8_aZa_ZGYda-"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$uS0uP/D/F3tmP5z48Ysriu/lRbNP5443e21j81CmiZ0aJkLIkHI52"], ["confirmed_at", "2016-03-11 02:32:29.257744"], ["authentication_token", "HX3tgwXF8_aZa_ZGYda-"], ["created_at", "2016-03-11 02:32:29.261034"], ["updated_at", "2016-03-11 02:32:29.261034"]] [1m[35m (8.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:29.296257"], ["current_sign_in_at", "2016-03-11 02:32:29.296257"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:29.297672"], ["id", 1]] [1m[35m (9.8ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 10.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms) [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "vseWBnasfZpAKcUbs45P"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test7@example.com"], ["encrypted_password", "$2a$04$aICmHVM9H5TPm1h/WqyVT.cblfNTmQNaBoqThjo1hEuyPChoMnOPa"], ["confirmed_at", "2016-03-11 02:32:29.430757"], ["authentication_token", "vseWBnasfZpAKcUbs45P"], ["created_at", "2016-03-11 02:32:29.433617"], ["updated_at", "2016-03-11 02:32:29.433617"]] [1m[35m (7.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:29.446506"], ["updated_at", "2016-03-11 02:32:29.446506"]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:29.457758"], ["updated_at", "2016-03-11 02:32:29.457758"]] [1m[36m (7.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test7@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:32:29.491750"], ["current_sign_in_at", "2016-03-11 02:32:29.491750"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:29.492807"], ["id", 1]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 0.5ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "u-_LHCkWskkmfWgkPxq2"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test9@example.com"], ["encrypted_password", "$2a$04$n73LfoCavQlOvNBC4Dr51eC.PXDbSzaKhoseu1fjiPDYFfMGJ.xyS"], ["confirmed_at", "2016-03-11 02:32:29.601128"], ["authentication_token", "u-_LHCkWskkmfWgkPxq2"], ["created_at", "2016-03-11 02:32:29.606066"], ["updated_at", "2016-03-11 02:32:29.606066"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:29.622098"], ["updated_at", "2016-03-11 02:32:29.622098"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:29.634347"], ["updated_at", "2016-03-11 02:32:29.634347"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.2ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test9@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.0ms) [1m[36m (12.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.8ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "TTLy6X9i_MgzY-Q1eS1x"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$VKCu32bdfZh/bVayLjL6ye3PJR8hkKVqZxoVkt/dTIPCZalI27Kg6"], ["confirmed_at", "2016-03-11 02:32:29.871142"], ["authentication_token", "TTLy6X9i_MgzY-Q1eS1x"], ["created_at", "2016-03-11 02:32:29.874424"], ["updated_at", "2016-03-11 02:32:29.874424"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:29.890060"], ["updated_at", "2016-03-11 02:32:29.890060"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:29.904832"], ["updated_at", "2016-03-11 02:32:29.904832"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "6gocWxqdkA6yUmJ8M6cW"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$tnNSRRMFOHNRj6bEfUtHketAyIun9T3cuYVptvpKlEae4KNXpmPle"], ["confirmed_at", "2016-03-11 02:32:29.918113"], ["authentication_token", "6gocWxqdkA6yUmJ8M6cW"], ["created_at", "2016-03-11 02:32:29.920787"], ["updated_at", "2016-03-11 02:32:29.920787"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 2], ["created_at", "2016-03-11 02:32:29.935455"], ["updated_at", "2016-03-11 02:32:29.935455"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:32:29.949014"], ["updated_at", "2016-03-11 02:32:29.949014"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:32:29.966310"], ["updated_at", "2016-03-11 02:32:29.966310"]] [1m[36m (7.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:32:29.976210"], ["updated_at", "2016-03-11 02:32:29.976210"]] [1m[35m (9.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:29 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test11@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:30.009563"], ["current_sign_in_at", "2016-03-11 02:32:30.009563"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:30.010454"], ["id", 2]] [1m[35m (10.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 10.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by ThingsController#index as HTML [1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 2]] Rendered things/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.3ms) [1m[36m (12.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "p1CZiDBBgsbcY6BH9MyT"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$7eTLt22EF.FUCj/D4.XsYeFP7lv7PtwjDOFNW7BPSfchQ7d0j6qRi"], ["confirmed_at", "2016-03-11 02:32:30.134817"], ["authentication_token", "p1CZiDBBgsbcY6BH9MyT"], ["created_at", "2016-03-11 02:32:30.137796"], ["updated_at", "2016-03-11 02:32:30.137796"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:30.150721"], ["updated_at", "2016-03-11 02:32:30.150721"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:30.164094"], ["updated_at", "2016-03-11 02:32:30.164094"]] [1m[35m (10.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "hNK8uJ3iZyx5jXGnhiQA"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test14@example.com"], ["encrypted_password", "$2a$04$vWjSXXIVs3Jp5BwMQCh5se4BgiiQf/dg5.dICrgXGelJADqLr3lUO"], ["confirmed_at", "2016-03-11 02:32:30.178318"], ["authentication_token", "hNK8uJ3iZyx5jXGnhiQA"], ["created_at", "2016-03-11 02:32:30.181025"], ["updated_at", "2016-03-11 02:32:30.181025"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 2], ["created_at", "2016-03-11 02:32:30.197803"], ["updated_at", "2016-03-11 02:32:30.197803"]] [1m[36m (8.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:32:30.210012"], ["updated_at", "2016-03-11 02:32:30.210012"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:32:30.222695"], ["updated_at", "2016-03-11 02:32:30.222695"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:32:30.234804"], ["updated_at", "2016-03-11 02:32:30.234804"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test13@example.com"]] [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:30.270886"], ["current_sign_in_at", "2016-03-11 02:32:30.270886"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:30.272076"], ["id", 1]] [1m[35m (11.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 12.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test11"]] Processing by ThingsController#index as HTML [1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 1]] Rendered things/index.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) [1m[36m (7.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (8.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "e9oQphi5cbGjC-P7frFb"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$9ke0FYvorioGNOOsmLwIieqwlYExKuqBPKmA8G/imIWp43EY4I27K"], ["confirmed_at", "2016-03-11 02:32:30.413958"], ["authentication_token", "e9oQphi5cbGjC-P7frFb"], ["created_at", "2016-03-11 02:32:30.417534"], ["updated_at", "2016-03-11 02:32:30.417534"]] [1m[36m (7.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:30.430535"], ["updated_at", "2016-03-11 02:32:30.430535"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:30.441597"], ["updated_at", "2016-03-11 02:32:30.441597"]] [1m[35m (9.1ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test16@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:30.475246"], ["current_sign_in_at", "2016-03-11 02:32:30.475246"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:30.476282"], ["id", 1]] [1m[35m (11.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 12.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test13"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 5.6ms | ActiveRecord: 1.6ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "PZauaj5uW_4uP5tWVYkb"]] [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$HuxtYhpVUlNn.B6/PyImiOxFHX89OL7yD/2bZgrvEH7d.auzJUEFK"], ["confirmed_at", "2016-03-11 02:32:30.637792"], ["authentication_token", "PZauaj5uW_4uP5tWVYkb"], ["created_at", "2016-03-11 02:32:30.640849"], ["updated_at", "2016-03-11 02:32:30.640849"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:30.657398"], ["updated_at", "2016-03-11 02:32:30.657398"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:30.670696"], ["updated_at", "2016-03-11 02:32:30.670696"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test18@example.com"]] [1m[35m (0.3ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:30.705743"], ["current_sign_in_at", "2016-03-11 02:32:30.705743"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:30.706978"], ["id", 1]] [1m[35m (12.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 13.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.5ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 5.0ms | ActiveRecord: 1.3ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.6ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "oVdrspT9w3Sumcvt1nox"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$2gxHqlRegnfoGQoSUGwXNO1Td2McWhdb7lMiAmoSooF9A/Hz3RxPC"], ["confirmed_at", "2016-03-11 02:32:30.841595"], ["authentication_token", "oVdrspT9w3Sumcvt1nox"], ["created_at", "2016-03-11 02:32:30.845124"], ["updated_at", "2016-03-11 02:32:30.845124"]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:30.861469"], ["updated_at", "2016-03-11 02:32:30.861469"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:30.876100"], ["updated_at", "2016-03-11 02:32:30.876100"]] [1m[35m (9.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test20@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:30.913176"], ["current_sign_in_at", "2016-03-11 02:32:30.913176"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:30.914118"], ["id", 1]] [1m[35m (10.5ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:32:30 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["created_at", "2016-03-11 02:32:30.965246"], ["updated_at", "2016-03-11 02:32:30.965246"]] [1m[35m (11.5ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 1], ["created_at", "2016-03-11 02:32:30.983978"], ["updated_at", "2016-03-11 02:32:30.983978"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ?[0m [["owner_id", 1], ["updated_at", "2016-03-11 02:32:30.999521"], ["id", 2]] [1m[35m (9.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 52ms (ActiveRecord: 33.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:31 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms) [1m[36m (11.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "7HFxqXzWvBgQ55HqyysL"]] [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$xarblJcWb7LWl.bjlMBUoedKOQ5PqrGTKtM/AdmW4HasnJp8L7Yzq"], ["confirmed_at", "2016-03-11 02:32:31.090989"], ["authentication_token", "7HFxqXzWvBgQ55HqyysL"], ["created_at", "2016-03-11 02:32:31.094188"], ["updated_at", "2016-03-11 02:32:31.094188"]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:31.110028"], ["updated_at", "2016-03-11 02:32:31.110028"]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:31.123288"], ["updated_at", "2016-03-11 02:32:31.123288"]] [1m[35m (10.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:31 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:32:31 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test22@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:32:31.161661"], ["current_sign_in_at", "2016-03-11 02:32:31.161661"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:32:31.162778"], ["id", 1]] [1m[35m (9.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:32:31 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:32:31 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:32:31 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:32:31.650807"], ["updated_at", "2016-03-11 02:32:31.650807"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:32:31.665395"], ["updated_at", "2016-03-11 02:32:31.665395"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:32:31.676451"], ["updated_at", "2016-03-11 02:32:31.677355"], ["id", 1]] [1m[35m (7.3ms)[0m commit transaction [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (9.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (23.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (16.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (16.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (14.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (2.6ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "7xZQVAbFttj8xpWjMfbB"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$e.4wg3vADfPF.wcWFkokk.bxQ5SnYzhMpfqXDr4./Ssv3wmTRKrFa"], ["confirmed_at", "2016-03-11 02:33:39.277063"], ["authentication_token", "7xZQVAbFttj8xpWjMfbB"], ["created_at", "2016-03-11 02:33:39.358484"], ["updated_at", "2016-03-11 02:33:39.358484"]] [1m[35m (39.0ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:39.426723"], ["updated_at", "2016-03-11 02:33:39.426723"]] [1m[35m (17.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:39.521389"], ["updated_at", "2016-03-11 02:33:39.521389"]] [1m[36m (25.4ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:39 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (3.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (297.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.7ms) Completed 200 OK in 838ms (Views: 810.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:33:40.443692"], ["current_sign_in_at", "2016-03-11 02:33:40.443692"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:40.444952"], ["id", 1]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 55ms (ActiveRecord: 12.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (7.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 17.6ms | ActiveRecord: 0.7ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test1"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 8.0ms | ActiveRecord: 1.4ms) [1m[35m (12.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (13.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "B8tivEQVmKuxsaAtHusW"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$einG1PSg59ILU2nr9HktU.TBIaC1KdxLTU.P2EbLYcmrKpsDHLOEa"], ["confirmed_at", "2016-03-11 02:33:40.715205"], ["authentication_token", "B8tivEQVmKuxsaAtHusW"], ["created_at", "2016-03-11 02:33:40.718580"], ["updated_at", "2016-03-11 02:33:40.718580"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:40.733931"], ["updated_at", "2016-03-11 02:33:40.733931"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:40.748461"], ["updated_at", "2016-03-11 02:33:40.748461"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:33:40.783200"], ["current_sign_in_at", "2016-03-11 02:33:40.783200"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:40.784280"], ["id", 1]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 12.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 6.2ms | ActiveRecord: 1.5ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "9aQfuyVN7zL7P6_x8kv8"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$tQvdX31sTUTnvEXXeuh7peFPrTUPkGoeJQPXfhWFkLShLhrfdQTku"], ["confirmed_at", "2016-03-11 02:33:40.920801"], ["authentication_token", "9aQfuyVN7zL7P6_x8kv8"], ["created_at", "2016-03-11 02:33:40.924570"], ["updated_at", "2016-03-11 02:33:40.924570"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:40.940593"], ["updated_at", "2016-03-11 02:33:40.940593"]] [1m[35m (9.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:40.954729"], ["updated_at", "2016-03-11 02:33:40.954729"]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:40 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test5@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:33:40.993011"], ["current_sign_in_at", "2016-03-11 02:33:40.993011"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:40.994228"], ["id", 1]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 10.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:41 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:33:41 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:33:41 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:42.396791"], ["updated_at", "2016-03-11 02:33:42.396791"]] [1m[36m (18.7ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:42.421693"], ["updated_at", "2016-03-11 02:33:42.421693"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:33:42.433810"], ["updated_at", "2016-03-11 02:33:42.434457"], ["id", 1]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (13.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) [1m[36m (11.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (8.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (13.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "d_kxmNuuFiohSKTrnZm6"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$HbXOQiCF4YLj4z/7/AvMjuMdxqxeWAiB8HKRDuJUXdUXRA.MUy4SG"], ["confirmed_at", "2016-03-11 02:33:42.832654"], ["authentication_token", "d_kxmNuuFiohSKTrnZm6"], ["created_at", "2016-03-11 02:33:42.837143"], ["updated_at", "2016-03-11 02:33:42.837143"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:33:42.883357"], ["current_sign_in_at", "2016-03-11 02:33:42.883357"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:42.884822"], ["id", 1]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 11.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:42 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.4ms) [1m[36m (12.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (26.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "z69Aqbrv36Jhyoq1mozL"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$43fCrOgcB707Faj/SfvUV./QmdaWPCZDxrfxP/2kP3u0N8k6iV9ZK"], ["confirmed_at", "2016-03-11 02:33:43.057567"], ["authentication_token", "z69Aqbrv36Jhyoq1mozL"], ["created_at", "2016-03-11 02:33:43.061777"], ["updated_at", "2016-03-11 02:33:43.061777"]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:43.082409"], ["updated_at", "2016-03-11 02:33:43.082409"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:43.099352"], ["updated_at", "2016-03-11 02:33:43.099352"]] [1m[35m (10.5ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test9@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:33:43.141191"], ["current_sign_in_at", "2016-03-11 02:33:43.141191"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:43.142415"], ["id", 1]] [1m[35m (11.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.4ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (12.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) [1m[36m (11.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (14.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (1.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "fu2dBz3xrfzvhpgAt_FT"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$6wmX3BEXdO0Ndzlf9eqSx.09XuKxyQNnAyHXiPuVfmiQ8En5Z6Rju"], ["confirmed_at", "2016-03-11 02:33:43.481815"], ["authentication_token", "fu2dBz3xrfzvhpgAt_FT"], ["created_at", "2016-03-11 02:33:43.485886"], ["updated_at", "2016-03-11 02:33:43.485886"]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:43.504209"], ["updated_at", "2016-03-11 02:33:43.504209"]] [1m[36m (13.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:43.522670"], ["updated_at", "2016-03-11 02:33:43.522670"]] [1m[35m (9.8ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test6"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test6"]] [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test11@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:33:43.581307"], ["current_sign_in_at", "2016-03-11 02:33:43.581307"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:43.582480"], ["id", 1]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m Redirected to http://test6.example.com/ Completed 302 Found in 24ms (ActiveRecord: 12.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test6"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test6"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 13.1ms | ActiveRecord: 0.3ms) [1m[36m (10.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "oDgHxy_J1RhrQ_1sZEKy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$FfWu/Id58UQp.OrUj22L6OvxnZgpqjgAVITBekxfssCH.VlYS4q7q"], ["confirmed_at", "2016-03-11 02:33:43.696888"], ["authentication_token", "oDgHxy_J1RhrQ_1sZEKy"], ["created_at", "2016-03-11 02:33:43.699992"], ["updated_at", "2016-03-11 02:33:43.699992"]] [1m[36m (18.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:43.729064"], ["updated_at", "2016-03-11 02:33:43.729064"]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:43.745854"], ["updated_at", "2016-03-11 02:33:43.745854"]] [1m[35m (10.3ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:43 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test7"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test7"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.0ms) [1m[35m (15.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "nJuvhM-GQBeWV6xRyqEu"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$EjPL0yLGNjjnBKuVFz9cquzdQyDKwd2cvUzROmzkwKMnSiLhml3sa"], ["confirmed_at", "2016-03-11 02:33:43.902208"], ["authentication_token", "nJuvhM-GQBeWV6xRyqEu"], ["created_at", "2016-03-11 02:33:43.905682"], ["updated_at", "2016-03-11 02:33:43.905682"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:43.922882"], ["updated_at", "2016-03-11 02:33:43.922882"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:43.937639"], ["updated_at", "2016-03-11 02:33:43.937639"]] [1m[36m (8.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "cCtvBzWnJm2U3m4XXggr"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$I1MSaqI1OpYRHguHs/Og3O4ZLNx9Q3bYwWuZvfQdVvbO/CX.EtDa6"], ["confirmed_at", "2016-03-11 02:33:43.951536"], ["authentication_token", "cCtvBzWnJm2U3m4XXggr"], ["created_at", "2016-03-11 02:33:43.955076"], ["updated_at", "2016-03-11 02:33:43.955076"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 2], ["created_at", "2016-03-11 02:33:43.971412"], ["updated_at", "2016-03-11 02:33:43.971412"]] [1m[35m (9.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:33:43.986739"], ["updated_at", "2016-03-11 02:33:43.986739"]] [1m[36m (16.9ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test8"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test8"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test8"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test8"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test8"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test8"]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test8"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test14@example.com"]] Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.0ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Bper_AowsWsHfi3ujzam"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$gJF0nYtJgN.YnaVTGSNPA.J1nMvJPB5tsEna9iEmbKtwGwx9yBGKK"], ["confirmed_at", "2016-03-11 02:33:44.118745"], ["authentication_token", "Bper_AowsWsHfi3ujzam"], ["created_at", "2016-03-11 02:33:44.122892"], ["updated_at", "2016-03-11 02:33:44.122892"]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:44.140467"], ["updated_at", "2016-03-11 02:33:44.140467"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:44.156415"], ["updated_at", "2016-03-11 02:33:44.156415"]] [1m[35m (9.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test10"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test15@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.0ms) [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "5a6MjfP_31Hz_qVSsJLY"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$e0xO.p4WN9xVTv2jd.Ua/ONskSn9Nom61sS2oTTcQl9fzjGjf6VjC"], ["confirmed_at", "2016-03-11 02:33:44.328279"], ["authentication_token", "5a6MjfP_31Hz_qVSsJLY"], ["created_at", "2016-03-11 02:33:44.332712"], ["updated_at", "2016-03-11 02:33:44.332712"]] [1m[35m (10.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:33:44.370805"], ["current_sign_in_at", "2016-03-11 02:33:44.370805"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:44.372154"], ["id", 1]] [1m[35m (12.1ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 12.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.4ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "oomxeYZXcgFsntqnGfum"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$CVcc2P2hBTGwYI0yCJK/ZuCJueIPolqSfvJ7HaoKt7I5P.V6YQeB2"], ["confirmed_at", "2016-03-11 02:33:44.478992"], ["authentication_token", "oomxeYZXcgFsntqnGfum"], ["created_at", "2016-03-11 02:33:44.482703"], ["updated_at", "2016-03-11 02:33:44.482703"]] [1m[35m (19.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:44.509536"], ["updated_at", "2016-03-11 02:33:44.509536"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:44.526349"], ["updated_at", "2016-03-11 02:33:44.526349"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (76.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (84.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 89.2ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 7.8ms | ActiveRecord: 1.6ms) [1m[35m (11.0ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "YjprQ34T2QbXPJbMjAdP"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "51639925b0ea8eaa11bf83cd9890611751a9201f05a09f434cd751d6c29c11e1"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$blUQqGS3ts/gd6b/fhv1aOGUcntGGjQLUZFLfqRl21wmF2et7n5Wq"], ["authentication_token", "YjprQ34T2QbXPJbMjAdP"], ["created_at", "2016-03-11 02:33:44.834885"], ["updated_at", "2016-03-11 02:33:44.834885"], ["confirmation_token", "zrSzqj2JFXzjn3iUozcV"], ["confirmation_sent_at", "2016-03-11 02:33:44.836525"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (4.0ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 6.3ms Sent mail to mtdevise@example.com (4.8ms) Date: Fri, 11 Mar 2016 02:33:44 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e22e88ceb4d_4fbe493285253d@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:33:44.850597"], ["updated_at", "2016-03-11 02:33:44.850597"]] [1m[36m (10.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:33:44.865749"], ["updated_at", "2016-03-11 02:33:44.865749"]] [1m[35m (8.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:33:44.875726"], ["updated_at", "2016-03-11 02:33:44.876657"], ["id", 1]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:33:44.891527"], ["current_sign_in_at", "2016-03-11 02:33:44.891527"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:33:44.892273"], ["id", 1]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 80ms (ActiveRecord: 40.5ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms) [1m[36m (11.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (12.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:33:44 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:33:45 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:33:45 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:22.680551"], ["updated_at", "2016-03-11 02:35:22.680551"]] [1m[35m (11.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:22.696554"], ["updated_at", "2016-03-11 02:35:22.696554"]] [1m[36m (12.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:35:22.711208"], ["updated_at", "2016-03-11 02:35:22.712014"], ["id", 1]] [1m[35m (9.0ms)[0m commit transaction [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (9.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "NxeX8PFJLoPL-VPaCfaY"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$t7c.KjLyd4Y1qO.4RrPLu.a3pvPXrbaELhjJQDJqeRBAwWSU1xfeu"], ["confirmed_at", "2016-03-11 02:35:22.843429"], ["authentication_token", "NxeX8PFJLoPL-VPaCfaY"], ["created_at", "2016-03-11 02:35:22.847096"], ["updated_at", "2016-03-11 02:35:22.847096"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:22 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:22 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:35:22.886082"], ["current_sign_in_at", "2016-03-11 02:35:22.886082"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:22.887325"], ["id", 1]] [1m[35m (11.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:22 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:22 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:22 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.4ms) [1m[35m (12.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) [1m[35m (11.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (2.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (13.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.0ms) [1m[35m (8.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (17.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.9ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (14.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "b-_6cqtgJjftuxf8SfF5"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$J28oEzBMX8ST1KWYAz7FJ.2QVStEoMq6L4P2mj3QUIxV3dZmu6sHa"], ["confirmed_at", "2016-03-11 02:35:23.300068"], ["authentication_token", "b-_6cqtgJjftuxf8SfF5"], ["created_at", "2016-03-11 02:35:23.305736"], ["updated_at", "2016-03-11 02:35:23.305736"]] [1m[35m (10.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:23.324815"], ["updated_at", "2016-03-11 02:35:23.324815"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:23.340133"], ["updated_at", "2016-03-11 02:35:23.340133"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test10@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:35:23.391696"], ["current_sign_in_at", "2016-03-11 02:35:23.391696"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:23.393208"], ["id", 1]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 11.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test7"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 31ms (Views: 17.7ms | ActiveRecord: 1.8ms) [1m[35m (13.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (14.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "bnpK2HTwZBgi4YR2f-yS"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$D2Prtz4CIl7RB.VYLGBhZ.9K0sbkcBv.Vsn/X8LXcCPwGr3pZJleO"], ["confirmed_at", "2016-03-11 02:35:23.642774"], ["authentication_token", "bnpK2HTwZBgi4YR2f-yS"], ["created_at", "2016-03-11 02:35:23.646202"], ["updated_at", "2016-03-11 02:35:23.646202"]] [1m[35m (8.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:23.660414"], ["updated_at", "2016-03-11 02:35:23.660414"]] [1m[35m (11.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:23.677897"], ["updated_at", "2016-03-11 02:35:23.677897"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test12@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:35:23.718515"], ["current_sign_in_at", "2016-03-11 02:35:23.718515"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:23.719879"], ["id", 1]] [1m[36m (11.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 0.6ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["created_at", "2016-03-11 02:35:23.783551"], ["updated_at", "2016-03-11 02:35:23.783551"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 1], ["created_at", "2016-03-11 02:35:23.801293"], ["updated_at", "2016-03-11 02:35:23.801293"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ? [["owner_id", 1], ["updated_at", "2016-03-11 02:35:23.815839"], ["id", 2]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 51ms (ActiveRecord: 31.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.4ms) [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "CxyLkz7zzv_CzxLp-HWZ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$Hr0PovGtOz.ArHHveye.juFPAlzjNfsroivxHW0dU/JxQm/nXaz.q"], ["confirmed_at", "2016-03-11 02:35:23.914471"], ["authentication_token", "CxyLkz7zzv_CzxLp-HWZ"], ["created_at", "2016-03-11 02:35:23.917985"], ["updated_at", "2016-03-11 02:35:23.917985"]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:23.930462"], ["updated_at", "2016-03-11 02:35:23.930462"]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:23.941648"], ["updated_at", "2016-03-11 02:35:23.941648"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test14@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:35:23.976800"], ["current_sign_in_at", "2016-03-11 02:35:23.976800"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:23.977859"], ["id", 1]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:23 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:35:24 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:35:24 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 5.5ms | ActiveRecord: 1.3ms) [1m[35m (12.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "K17EivrzFe8Qmr-z1z4H"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$OTLA3Bd6VCS1Fynxut1FUO4iN60ftGZIc.WMA0IFaPIfgJ1ymvnpK"], ["confirmed_at", "2016-03-11 02:35:24.178587"], ["authentication_token", "K17EivrzFe8Qmr-z1z4H"], ["created_at", "2016-03-11 02:35:24.181694"], ["updated_at", "2016-03-11 02:35:24.181694"]] [1m[35m (8.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:24.195266"], ["updated_at", "2016-03-11 02:35:24.195266"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:24.208384"], ["updated_at", "2016-03-11 02:35:24.208384"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:24 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:24 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test16@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:35:24.242348"], ["current_sign_in_at", "2016-03-11 02:35:24.242348"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:24.243229"], ["id", 1]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:24 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:35:24 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:35:24 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:25.038556"], ["updated_at", "2016-03-11 02:35:25.038556"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:25.053159"], ["updated_at", "2016-03-11 02:35:25.053159"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:35:25.066108"], ["updated_at", "2016-03-11 02:35:25.066666"], ["id", 1]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:35:25.082115"], ["current_sign_in_at", "2016-03-11 02:35:25.082115"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:25.083037"], ["id", 1]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 78ms (ActiveRecord: 43.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 0.4ms) [1m[36m (8.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 6.7ms | ActiveRecord: 1.4ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "xEUu_jpbyEi2fsRxuGiy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$W8rO0RbHRz6gg.Q1MfnAxeIXDnutkILBf0JFDnaciLhAAZr1ciXp6"], ["confirmed_at", "2016-03-11 02:35:25.321338"], ["authentication_token", "xEUu_jpbyEi2fsRxuGiy"], ["created_at", "2016-03-11 02:35:25.324162"], ["updated_at", "2016-03-11 02:35:25.324162"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:25.340784"], ["updated_at", "2016-03-11 02:35:25.340784"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:25.355939"], ["updated_at", "2016-03-11 02:35:25.355939"]] [1m[35m (9.6ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test19@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:35:25.392465"], ["current_sign_in_at", "2016-03-11 02:35:25.392465"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:25.393423"], ["id", 1]] [1m[35m (10.2ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.3ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) [1m[36m (10.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "HCJsEuh8-vT8Xd_ap41L"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$bvpUq5q4VViRl.CwkHRz9utScBbqMxZXY2s3zQOYNOXlsqh.zNXXW"], ["confirmed_at", "2016-03-11 02:35:25.593939"], ["authentication_token", "HCJsEuh8-vT8Xd_ap41L"], ["created_at", "2016-03-11 02:35:25.596761"], ["updated_at", "2016-03-11 02:35:25.596761"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:25.611312"], ["updated_at", "2016-03-11 02:35:25.611312"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:25.624041"], ["updated_at", "2016-03-11 02:35:25.624041"]] [1m[35m (9.1ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test13"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.7ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.0ms) [1m[35m (10.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "vTpFv7NqhXZDrUfys7dn"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test22@example.com"], ["encrypted_password", "$2a$04$Nz8V6bJzaqmJi14VTzLYPOZQrVsHd8EsTWhxr7UEv/ITBfnKwxGoy"], ["confirmed_at", "2016-03-11 02:35:25.746732"], ["authentication_token", "vTpFv7NqhXZDrUfys7dn"], ["created_at", "2016-03-11 02:35:25.749859"], ["updated_at", "2016-03-11 02:35:25.749859"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:25.762959"], ["updated_at", "2016-03-11 02:35:25.762959"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:25.777441"], ["updated_at", "2016-03-11 02:35:25.777441"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test14"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test22@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:35:25.820674"], ["current_sign_in_at", "2016-03-11 02:35:25.820674"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:35:25.821584"], ["id", 1]] [1m[35m (12.0ms)[0m commit transaction Redirected to http://test14.example.com/ Completed 302 Found in 23ms (ActiveRecord: 12.9ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.3ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "a8a7VmoqT1xavBXeYivL"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test23@example.com"], ["encrypted_password", "$2a$04$jqI9WRDhjp0fBK0TPzo/HOD5J5x/Bno0/DcxWSmfaoG/e2P4dyWTa"], ["confirmed_at", "2016-03-11 02:35:25.920611"], ["authentication_token", "a8a7VmoqT1xavBXeYivL"], ["created_at", "2016-03-11 02:35:25.924858"], ["updated_at", "2016-03-11 02:35:25.924858"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:25.939359"], ["updated_at", "2016-03-11 02:35:25.939359"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:25.953563"], ["updated_at", "2016-03-11 02:35:25.953563"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:25 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test15"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test23@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.2ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.0ms) [1m[36m (10.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Tzb-4HvaxemRExvbUHYJ"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$2KcJQ14IoxyNnM/mPFGPJOwes68nHL3g0DNIZNFTDiMAOb/w5BZda"], ["confirmed_at", "2016-03-11 02:35:26.081854"], ["authentication_token", "Tzb-4HvaxemRExvbUHYJ"], ["created_at", "2016-03-11 02:35:26.085149"], ["updated_at", "2016-03-11 02:35:26.085149"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 02:35:26.101796"], ["updated_at", "2016-03-11 02:35:26.101796"]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:35:26.114580"], ["updated_at", "2016-03-11 02:35:26.114580"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "uxxgQFv676UVbNCEpPvZ"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test25@example.com"], ["encrypted_password", "$2a$04$Do6R0KBSB6Zl6L.T9UKTnO2rBa4hM3TJbhU4Bz6FeKc8sGyyFVj7C"], ["confirmed_at", "2016-03-11 02:35:26.128359"], ["authentication_token", "uxxgQFv676UVbNCEpPvZ"], ["created_at", "2016-03-11 02:35:26.131070"], ["updated_at", "2016-03-11 02:35:26.131070"]] [1m[36m (8.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 2], ["created_at", "2016-03-11 02:35:26.145043"], ["updated_at", "2016-03-11 02:35:26.145043"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:35:26.158279"], ["updated_at", "2016-03-11 02:35:26.158279"]] [1m[35m (6.7ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:35:26 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test16"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test16"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:26 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test16"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test16"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:35:26 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test16"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test16"]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test16"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test25@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test16"]] Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.0ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (18.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ARwJsQx8S7RgLdAd9rep"]] [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$ILAJlKwkwYGjyrkGITQ7eejS8HbHx2aZZuZQHGrsgSDkOn8QKhN8i"], ["confirmed_at", "2016-03-11 02:36:30.714451"], ["authentication_token", "ARwJsQx8S7RgLdAd9rep"], ["created_at", "2016-03-11 02:36:30.801127"], ["updated_at", "2016-03-11 02:36:30.801127"]] [1m[35m (14.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.5ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 02:36:30.893883"], ["updated_at", "2016-03-11 02:36:30.893883"]] [1m[35m (13.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:36:30.989994"], ["updated_at", "2016-03-11 02:36:30.989994"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:31 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.2ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (411.5ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.9ms) Completed 200 OK in 971ms (Views: 903.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:36:32.074115"], ["current_sign_in_at", "2016-03-11 02:36:32.074115"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:36:32.075568"], ["id", 1]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 112ms (ActiveRecord: 12.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (8.7ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 22.0ms | ActiveRecord: 0.8ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (8.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 16.2ms | ActiveRecord: 0.4ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test1"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.4ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.3ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 74ms (Views: 10.3ms | ActiveRecord: 1.6ms) [1m[35m (28.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "8hAPZBbzD8y_4r1W2R_z"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$em5rBkKeAijTuDm6mtIsie.ZaEcMRR.8AuGhTzAk/e7upZ7KYEXpW"], ["confirmed_at", "2016-03-11 02:36:32.424118"], ["authentication_token", "8hAPZBbzD8y_4r1W2R_z"], ["created_at", "2016-03-11 02:36:32.427558"], ["updated_at", "2016-03-11 02:36:32.427558"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 02:36:32.442159"], ["updated_at", "2016-03-11 02:36:32.442159"]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:36:32.453087"], ["updated_at", "2016-03-11 02:36:32.453087"]] [1m[36m (8.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:36:32.487521"], ["current_sign_in_at", "2016-03-11 02:36:32.487521"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:36:32.488546"], ["id", 1]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.6ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:36:32 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:36:36.006832"], ["updated_at", "2016-03-11 02:36:36.006832"]] [1m[35m (12.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:36:36.072062"], ["updated_at", "2016-03-11 02:36:36.072062"]] [1m[36m (12.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:36:36.086668"], ["updated_at", "2016-03-11 02:36:36.087557"], ["id", 1]] [1m[35m (9.1ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:36:36.102504"], ["current_sign_in_at", "2016-03-11 02:36:36.102504"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:36:36.103377"], ["id", 1]] [1m[35m (9.1ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 1105ms (ActiveRecord: 45.7ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:36:36 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) [1m[35m (8.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:36:36 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:36:36 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:36:36 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.1ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:36:36.912872"], ["updated_at", "2016-03-11 02:36:36.912872"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:36:36.926279"], ["updated_at", "2016-03-11 02:36:36.926279"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:36:36.935101"], ["updated_at", "2016-03-11 02:36:36.935712"], ["id", 1]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "RzYi1zgzzyz7qzpEmN37"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$Z5SuUWBbFV8XG/AFsZj4teH7qeGYy8Tzzhmve410jP/jfLfFD7BRu"], ["confirmed_at", "2016-03-11 02:36:37.064088"], ["authentication_token", "RzYi1zgzzyz7qzpEmN37"], ["created_at", "2016-03-11 02:36:37.067012"], ["updated_at", "2016-03-11 02:36:37.067012"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 02:36:37.082293"], ["updated_at", "2016-03-11 02:36:37.082293"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:36:37.093801"], ["updated_at", "2016-03-11 02:36:37.093801"]] [1m[35m (7.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test21@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.0ms) [1m[35m (9.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "o9kP4N9cpsWv7p9CUJ_s"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test22@example.com"], ["encrypted_password", "$2a$04$pG8yN1aTHD3At2zPme1xPe8TbCSIwqUQb.AjsD7m7DLBK1Awu.182"], ["confirmed_at", "2016-03-11 02:36:37.204986"], ["authentication_token", "o9kP4N9cpsWv7p9CUJ_s"], ["created_at", "2016-03-11 02:36:37.207897"], ["updated_at", "2016-03-11 02:36:37.207897"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 02:36:37.222214"], ["updated_at", "2016-03-11 02:36:37.222214"]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:36:37.232741"], ["updated_at", "2016-03-11 02:36:37.232741"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test22@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:36:37.270373"], ["current_sign_in_at", "2016-03-11 02:36:37.270373"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:36:37.271430"], ["id", 1]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) [1m[35m (11.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (12.2ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "soVxcNs9PzwRFwQsqMXz"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test24@example.com"], ["encrypted_password", "$2a$04$ussL2OEHLb2bsNfM71RxFuWPtMjzsvC6FI7jhbhXyYzte9J8qb2Ii"], ["confirmed_at", "2016-03-11 02:36:37.414705"], ["authentication_token", "soVxcNs9PzwRFwQsqMXz"], ["created_at", "2016-03-11 02:36:37.417730"], ["updated_at", "2016-03-11 02:36:37.417730"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-11 02:36:37.430704"], ["updated_at", "2016-03-11 02:36:37.430704"]] [1m[35m (8.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:36:37.442439"], ["updated_at", "2016-03-11 02:36:37.442439"]] [1m[36m (6.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test24@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:36:37.474488"], ["current_sign_in_at", "2016-03-11 02:36:37.474488"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:36:37.475344"], ["id", 1]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 19ms (ActiveRecord: 10.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.3ms) [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:36:37 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) [1m[35m (10.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (2.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "trDgbvRuskWM2q2yXb3T"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$AYX58eEKJK/2ZOXJo8C4MevPfwTuaTFdRyvv2TaxRG06V0Z2jhOjK"], ["confirmed_at", "2016-03-11 02:42:33.947206"], ["authentication_token", "trDgbvRuskWM2q2yXb3T"], ["created_at", "2016-03-11 02:42:34.104845"], ["updated_at", "2016-03-11 02:42:34.104845"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:34.153205"], ["updated_at", "2016-03-11 02:42:34.153205"]] [1m[35m (17.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:34.296149"], ["updated_at", "2016-03-11 02:42:34.296149"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:34 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.3ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (331.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.7ms) Completed 200 OK in 983ms (Views: 952.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:42:35.336801"], ["current_sign_in_at", "2016-03-11 02:42:35.336801"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:35.337974"], ["id", 1]] [1m[36m (13.1ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 56ms (ActiveRecord: 14.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.6ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.6ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (57.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 88ms (Views: 74.2ms | ActiveRecord: 1.2ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) [1m[35m (10.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (16.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (13.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "1tQUNmqDvL9VKhL__RZQ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$PEOO1sbhD3Fu.t5jsVqnlu1Hcr3yoOct0IN6i1KUhKYoFfJAWpAOe"], ["confirmed_at", "2016-03-11 02:42:35.684462"], ["authentication_token", "1tQUNmqDvL9VKhL__RZQ"], ["created_at", "2016-03-11 02:42:35.687761"], ["updated_at", "2016-03-11 02:42:35.687761"]] [1m[35m (10.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:42:35.724317"], ["current_sign_in_at", "2016-03-11 02:42:35.724317"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:35.725422"], ["id", 1]] [1m[35m (7.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 8.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.6ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.4ms) [1m[35m (12.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (12.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (11.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:42:35 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:37.764460"], ["updated_at", "2016-03-11 02:42:37.764460"]] [1m[36m (16.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:37.786482"], ["updated_at", "2016-03-11 02:42:37.786482"]] [1m[35m (10.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (1.7ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:42:37.800271"], ["updated_at", "2016-03-11 02:42:37.801447"], ["id", 1]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:42:37.821930"], ["current_sign_in_at", "2016-03-11 02:42:37.821930"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:37.822769"], ["id", 1]] [1m[36m (10.3ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 1233ms (ActiveRecord: 52.7ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:37 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (13.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 0.4ms) [1m[36m (11.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:37 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:42:37 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.9ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 8.3ms | ActiveRecord: 1.9ms) [1m[36m (13.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "WVERawWSRnmeEAg2xasE"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["confirmation_token", "9a4ff11ff69037044d1728ca1a5c6ed6b5a02ce3cee1e60fcb8e5b98aad5ce45"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "user@example.com"], ["encrypted_password", "$2a$04$98MJsmafCZUX/TQuOjpaouPJDh5xF55F/BoYsc19dUKGBbLGPDqSi"], ["authentication_token", "WVERawWSRnmeEAg2xasE"], ["created_at", "2016-03-11 02:42:38.137964"], ["updated_at", "2016-03-11 02:42:38.137964"], ["confirmation_token", "rGRxYo_uY7rN7xNjoxdo"], ["confirmation_sent_at", "2016-03-11 02:42:38.139375"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (4.2ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 6.5ms Sent mail to user@example.com (3.4ms) Date: Fri, 11 Mar 2016 02:42:38 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: user@example.com Message-ID: <56e2309e24c1a_55492131426769@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:38.152904"], ["updated_at", "2016-03-11 02:42:38.152904"]] [1m[35m (11.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:38.169807"], ["updated_at", "2016-03-11 02:42:38.169807"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:42:38.180062"], ["updated_at", "2016-03-11 02:42:38.181366"], ["id", 1]] [1m[35m (10.9ms)[0m commit transaction [1m[36mMtdevise::User Load (0.5ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (15.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "3vP5peFNRxFFtWbqSzN2"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@example.com"], ["encrypted_password", "$2a$04$QcuiTUK0r3zvB0YgSN8mM.Ge3WnbUm62E1ShsJ09nP/4x42yMPdGi"], ["confirmed_at", "2016-03-11 02:42:38.310465"], ["authentication_token", "3vP5peFNRxFFtWbqSzN2"], ["created_at", "2016-03-11 02:42:38.313420"], ["updated_at", "2016-03-11 02:42:38.313420"]] [1m[35m (10.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:38.329104"], ["updated_at", "2016-03-11 02:42:38.329104"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:38.342424"], ["updated_at", "2016-03-11 02:42:38.342424"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "GBKpzWZs-6mXM_y2EPHC"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$0oEK5b/rrutjE/z9KX1ewe/Lb5KAT.ugq0FBSgLsu/HRiY4vbmK16"], ["confirmed_at", "2016-03-11 02:42:38.357055"], ["authentication_token", "GBKpzWZs-6mXM_y2EPHC"], ["created_at", "2016-03-11 02:42:38.360096"], ["updated_at", "2016-03-11 02:42:38.360096"]] [1m[35m (9.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 2], ["created_at", "2016-03-11 02:42:38.377662"], ["updated_at", "2016-03-11 02:42:38.377662"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:42:38.402768"], ["updated_at", "2016-03-11 02:42:38.402768"]] [1m[36m (13.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:42:38.426167"], ["updated_at", "2016-03-11 02:42:38.426167"]] [1m[35m (10.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:42:38.439399"], ["updated_at", "2016-03-11 02:42:38.439399"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test4@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:42:38.477437"], ["current_sign_in_at", "2016-03-11 02:42:38.477437"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:38.478535"], ["id", 1]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 10.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.7ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.7ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 0.9ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test3"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 1]] Rendered things/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.3ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (12.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (18.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (11.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "tpjqZCXbe4RQ76MJQEfZ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test7@example.com"], ["encrypted_password", "$2a$04$LZKymO1ze7A/l72dCEpkNOKelTb215d/DrquSye5z2SAAuCQReXgu"], ["confirmed_at", "2016-03-11 02:42:38.641827"], ["authentication_token", "tpjqZCXbe4RQ76MJQEfZ"], ["created_at", "2016-03-11 02:42:38.645075"], ["updated_at", "2016-03-11 02:42:38.645075"]] [1m[35m (10.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:38.661731"], ["updated_at", "2016-03-11 02:42:38.661731"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:38.676581"], ["updated_at", "2016-03-11 02:42:38.676581"]] [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ZxqZC2buYKddHR_1BQBV"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test8@example.com"], ["encrypted_password", "$2a$04$slXs4.ievMbkx2Rp1BzlTuxVj1K1ZG8WCQOAYxz31EutQgE1Id1jS"], ["confirmed_at", "2016-03-11 02:42:38.690484"], ["authentication_token", "ZxqZC2buYKddHR_1BQBV"], ["created_at", "2016-03-11 02:42:38.694567"], ["updated_at", "2016-03-11 02:42:38.694567"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 2], ["created_at", "2016-03-11 02:42:38.712062"], ["updated_at", "2016-03-11 02:42:38.712062"]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:42:38.726398"], ["updated_at", "2016-03-11 02:42:38.726398"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:42:38.739300"], ["updated_at", "2016-03-11 02:42:38.739300"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:42:38.753359"], ["updated_at", "2016-03-11 02:42:38.753359"]] [1m[36m (11.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (5.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (10.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 23ms (Views: 16.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test8@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:42:38.813499"], ["current_sign_in_at", "2016-03-11 02:42:38.813499"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:38.814930"], ["id", 2]] [1m[36m (12.4ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 26ms (ActiveRecord: 13.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 2]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test6"]] Processing by ThingsController#index as HTML [1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."account_id" = ?[0m [["account_id", 2]] Rendered things/index.html.erb within layouts/application (1.2ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) [1m[35m (11.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (6.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:38 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.3ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (6.7ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 15ms (Views: 11.8ms | ActiveRecord: 0.0ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.6ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) [1m[35m (12.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.8ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "GnfJcCXF1ez1mbpHYZix"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$ffVkFEE.aHiHUuNe3tvtnO.EOjZydSrA9v0qnLWX0iQJcyqvScgA."], ["confirmed_at", "2016-03-11 02:42:39.185421"], ["authentication_token", "GnfJcCXF1ez1mbpHYZix"], ["created_at", "2016-03-11 02:42:39.191170"], ["updated_at", "2016-03-11 02:42:39.191170"]] [1m[35m (11.4ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:42:39.234374"], ["current_sign_in_at", "2016-03-11 02:42:39.234374"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:39.235538"], ["id", 1]] [1m[35m (11.7ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 12.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.7ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.3ms) [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ZcaSZeA4JZ9H3ByusjHV"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$gZ5Uk9bix7Wl7GcH7J.0teRGk86CjuZyi4IxJgcpB9HMGtd5AliLe"], ["confirmed_at", "2016-03-11 02:42:39.372673"], ["authentication_token", "ZcaSZeA4JZ9H3ByusjHV"], ["created_at", "2016-03-11 02:42:39.376997"], ["updated_at", "2016-03-11 02:42:39.376997"]] [1m[35m (7.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:39.396637"], ["updated_at", "2016-03-11 02:42:39.396637"]] [1m[35m (8.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:39.414935"], ["updated_at", "2016-03-11 02:42:39.414935"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test7"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test7"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test7"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test7"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test7"]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test7"]] [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 6ms (ActiveRecord: 1.0ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.1ms | ActiveRecord: 0.0ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "cxBVGsGd6f9jaWzx5vce"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$z4IXAHw09DjajY99VT9Jk.rvg6plMCHcamQg1XCZWzw4JleOxEXzC"], ["confirmed_at", "2016-03-11 02:42:39.550143"], ["authentication_token", "cxBVGsGd6f9jaWzx5vce"], ["created_at", "2016-03-11 02:42:39.553487"], ["updated_at", "2016-03-11 02:42:39.553487"]] [1m[36m (8.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:39.568224"], ["updated_at", "2016-03-11 02:42:39.568224"]] [1m[36m (20.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:39.594444"], ["updated_at", "2016-03-11 02:42:39.594444"]] [1m[35m (14.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "JuzEt2Y8mCz9wiu7Tdgy"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$T3s8R95C4NH0ZvoXRF7mkOmoFPhNr0fEfoidHbLELCXfWGagebG8m"], ["confirmed_at", "2016-03-11 02:42:39.614109"], ["authentication_token", "JuzEt2Y8mCz9wiu7Tdgy"], ["created_at", "2016-03-11 02:42:39.618069"], ["updated_at", "2016-03-11 02:42:39.618069"]] [1m[36m (7.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 2], ["created_at", "2016-03-11 02:42:39.631481"], ["updated_at", "2016-03-11 02:42:39.631481"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:42:39.645233"], ["updated_at", "2016-03-11 02:42:39.645233"]] [1m[35m (11.2ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test8"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test8"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test8"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test8"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test12@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test8"]] Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.0ms) [1m[35m (10.2ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Joz459w3ZGPUbuykwbxt"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$ZEtlrAxuUPgOqxluQJsF2.EvDtEdqtpgxWj6OAgrdvO/B0VsJeYse"], ["confirmed_at", "2016-03-11 02:42:39.780071"], ["authentication_token", "Joz459w3ZGPUbuykwbxt"], ["created_at", "2016-03-11 02:42:39.783445"], ["updated_at", "2016-03-11 02:42:39.783445"]] [1m[35m (8.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:39.798811"], ["updated_at", "2016-03-11 02:42:39.798811"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:39.812902"], ["updated_at", "2016-03-11 02:42:39.812902"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test10"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test10"]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test10"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test13@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:42:39.933442"], ["current_sign_in_at", "2016-03-11 02:42:39.933442"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:39.934481"], ["id", 1]] [1m[35m (10.3ms)[0m commit transaction Redirected to http://test10.example.com/ Completed 302 Found in 22ms (ActiveRecord: 11.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:39 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test10"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.3ms) [1m[35m (9.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (14.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "fVmMJo1rrtLJRELx_He9"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test14@example.com"], ["encrypted_password", "$2a$04$v/as309H96nwZYclzEuw1urc.Qpj4Y5WKWEeI4ZFSyEgJnTCvSUsO"], ["confirmed_at", "2016-03-11 02:42:40.044187"], ["authentication_token", "fVmMJo1rrtLJRELx_He9"], ["created_at", "2016-03-11 02:42:40.047817"], ["updated_at", "2016-03-11 02:42:40.047817"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:40.063851"], ["updated_at", "2016-03-11 02:42:40.063851"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:40.077187"], ["updated_at", "2016-03-11 02:42:40.077187"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test11"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test11"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test11"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test11"]] Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test11"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test11"]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test11"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test14@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test11"]] Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.0ms) [1m[36m (10.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (8.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.7ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "gyhnum1xbnyiyFfMsknq"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$CH8YZwfRobKfVgfE9TYHZ.fJcEM5.uleSsRJ50j2RIMvvbS.tNoFS"], ["confirmed_at", "2016-03-11 02:42:40.243508"], ["authentication_token", "gyhnum1xbnyiyFfMsknq"], ["created_at", "2016-03-11 02:42:40.246767"], ["updated_at", "2016-03-11 02:42:40.246767"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:40.264251"], ["updated_at", "2016-03-11 02:42:40.264251"]] [1m[36m (8.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:40.278418"], ["updated_at", "2016-03-11 02:42:40.278418"]] [1m[35m (9.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test15@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:42:40.318374"], ["current_sign_in_at", "2016-03-11 02:42:40.318374"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:40.319303"], ["id", 1]] [1m[35m (8.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 18ms (ActiveRecord: 9.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 9.0ms | ActiveRecord: 1.4ms) [1m[36m (11.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "4u1MN9nK7m468mqzwTjx"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test17@example.com"], ["encrypted_password", "$2a$04$ZfGXnodXwAVJmFHDl1ly9eAFZdgZtrhzO23i0UeNPFW.5Dh8nnGgi"], ["confirmed_at", "2016-03-11 02:42:40.455607"], ["authentication_token", "4u1MN9nK7m468mqzwTjx"], ["created_at", "2016-03-11 02:42:40.458576"], ["updated_at", "2016-03-11 02:42:40.458576"]] [1m[36m (7.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 02:42:40.472907"], ["updated_at", "2016-03-11 02:42:40.472907"]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:42:40.488372"], ["updated_at", "2016-03-11 02:42:40.488372"]] [1m[35m (8.9ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test17@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:42:40.526915"], ["current_sign_in_at", "2016-03-11 02:42:40.526915"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:42:40.528250"], ["id", 1]] [1m[35m (9.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 10.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.1ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.1ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:42:40 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:55.946732"], ["updated_at", "2016-03-11 02:47:55.946732"]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:55.965109"], ["updated_at", "2016-03-11 02:47:55.965109"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:47:55.976187"], ["updated_at", "2016-03-11 02:47:55.976860"], ["id", 1]] [1m[36m (7.5ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (9.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.8ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (11.1ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "vZsxxT8wgiSKfeCrcDno"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$YhtGyvVK30.TFMuqLLTCF.VkJjGeBL54cI.yGNBP67M8kll5VPjFK"], ["confirmed_at", "2016-03-11 02:47:56.097242"], ["authentication_token", "vZsxxT8wgiSKfeCrcDno"], ["created_at", "2016-03-11 02:47:56.100431"], ["updated_at", "2016-03-11 02:47:56.100431"]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:56 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) [1m[35m (13.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:56 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.8ms) Completed 200 OK in 372ms (Views: 371.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:56 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:56 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:47:56 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (11.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (31.3ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 41.5ms | ActiveRecord: 0.0ms) [1m[35m (11.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:56 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:56 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) [1m[35m (11.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "-ZbWXRx93gCv-AfnnPQd"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test9@example.com"], ["encrypted_password", "$2a$04$VzK/IXW0bEtMMNxbXrn7HOs4iRowdBrzrfWOC5cZj4v73i7avRJGG"], ["confirmed_at", "2016-03-11 02:47:56.875567"], ["authentication_token", "-ZbWXRx93gCv-AfnnPQd"], ["created_at", "2016-03-11 02:47:56.878609"], ["updated_at", "2016-03-11 02:47:56.878609"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #5"], ["firstname", "Test5"], ["lastname", "Test5"], ["username", "test5"], ["subdomain", "test5"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:56.895321"], ["updated_at", "2016-03-11 02:47:56.895321"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:56.910223"], ["updated_at", "2016-03-11 02:47:56.910223"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ErmT75T8sxqsrYTmC14z"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$8PTPM.EztwmLGhdu3gIvkOYQkE0Nx1XZHEVLtNYtcrkraElOpCHGO"], ["confirmed_at", "2016-03-11 02:47:56.925144"], ["authentication_token", "ErmT75T8sxqsrYTmC14z"], ["created_at", "2016-03-11 02:47:56.928665"], ["updated_at", "2016-03-11 02:47:56.928665"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 2], ["created_at", "2016-03-11 02:47:56.943176"], ["updated_at", "2016-03-11 02:47:56.943176"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:47:56.957892"], ["updated_at", "2016-03-11 02:47:56.957892"]] [1m[36m (7.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:47:56.974603"], ["updated_at", "2016-03-11 02:47:56.974603"]] [1m[35m (11.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:47:56.988637"], ["updated_at", "2016-03-11 02:47:56.988637"]] [1m[36m (8.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (9.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (6.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "J37fK55GVLseky1vwFKE"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$MoUSgcmbwfeq.VcxcHDdBOX0YtZI83Fp/xuzFca.AambC/.Pu.Pz."], ["confirmed_at", "2016-03-11 02:47:57.088209"], ["authentication_token", "J37fK55GVLseky1vwFKE"], ["created_at", "2016-03-11 02:47:57.093439"], ["updated_at", "2016-03-11 02:47:57.093439"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:57.109668"], ["updated_at", "2016-03-11 02:47:57.109668"]] [1m[35m (7.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:57.121911"], ["updated_at", "2016-03-11 02:47:57.121911"]] [1m[36m (7.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "9s3nxm3xZ6VEsV34oS9Z"]] [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test13@example.com"], ["encrypted_password", "$2a$04$LkOR0Xq9X8iDSq1m4WMH6.vPXoFkK/zhs691YUlTSqHnMS/x4OD7."], ["confirmed_at", "2016-03-11 02:47:57.133834"], ["authentication_token", "9s3nxm3xZ6VEsV34oS9Z"], ["created_at", "2016-03-11 02:47:57.137857"], ["updated_at", "2016-03-11 02:47:57.137857"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 2], ["created_at", "2016-03-11 02:47:57.153819"], ["updated_at", "2016-03-11 02:47:57.153819"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:47:57.166373"], ["updated_at", "2016-03-11 02:47:57.166373"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 02:47:57.179419"], ["updated_at", "2016-03-11 02:47:57.179419"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 02:47:57.192498"], ["updated_at", "2016-03-11 02:47:57.192498"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) [1m[35m (8.9ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Exi4LnvBtep-d2X8SsWm"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$5L6DqnJt2MfsYcFGu2u9bO4xGaTiAKwCnoaHEKxpVTRjCyiHGpAvy"], ["confirmed_at", "2016-03-11 02:47:57.336470"], ["authentication_token", "Exi4LnvBtep-d2X8SsWm"], ["created_at", "2016-03-11 02:47:57.341532"], ["updated_at", "2016-03-11 02:47:57.341532"]] [1m[35m (9.3ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[36m (9.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 02:47:57.415409"], ["updated_at", "2016-03-11 02:47:57.415409"]] [1m[35m (9.0ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 11.5ms | ActiveRecord: 1.6ms) [1m[36m (24.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (6.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:57.774688"], ["updated_at", "2016-03-11 02:47:57.774688"]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:57.789116"], ["updated_at", "2016-03-11 02:47:57.789116"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:47:57.800116"], ["updated_at", "2016-03-11 02:47:57.800796"], ["id", 1]] [1m[35m (9.1ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:47:57.816002"], ["current_sign_in_at", "2016-03-11 02:47:57.816002"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:47:57.816689"], ["id", 1]] [1m[35m (9.7ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 76ms (ActiveRecord: 41.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.5ms | ActiveRecord: 0.5ms) [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "JRsawbHkZXGGHk6epJ1z"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test15@example.com"], ["encrypted_password", "$2a$04$PgT6jKIPngKfauFAJsFUT.lSDghSWFKoS7rK7MH/NJwB/QXVh/Gxe"], ["confirmed_at", "2016-03-11 02:47:57.919198"], ["authentication_token", "JRsawbHkZXGGHk6epJ1z"], ["created_at", "2016-03-11 02:47:57.922220"], ["updated_at", "2016-03-11 02:47:57.922220"]] [1m[35m (7.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #9"], ["firstname", "Test9"], ["lastname", "Test9"], ["username", "test9"], ["subdomain", "test9"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:57.935329"], ["updated_at", "2016-03-11 02:47:57.935329"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:57.949911"], ["updated_at", "2016-03-11 02:47:57.949911"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:47:57 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.3ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 90ms (Views: 88.3ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 7.6ms | ActiveRecord: 1.5ms) [1m[35m (10.1ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.6ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 8.8ms | ActiveRecord: 2.1ms) [1m[35m (12.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "7ZtpN8sFhoc1hvirA5Ho"]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test16@example.com"], ["encrypted_password", "$2a$04$vYO9Ag4/GLMQUsOghb9LLuFT4ZE5Hgz2/vkB/ify/cUB96EvSDjIG"], ["confirmed_at", "2016-03-11 02:47:58.314373"], ["authentication_token", "7ZtpN8sFhoc1hvirA5Ho"], ["created_at", "2016-03-11 02:47:58.317560"], ["updated_at", "2016-03-11 02:47:58.317560"]] [1m[35m (8.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #10"], ["firstname", "Test10"], ["lastname", "Test10"], ["username", "test10"], ["subdomain", "test10"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:58.331277"], ["updated_at", "2016-03-11 02:47:58.331277"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:58.344685"], ["updated_at", "2016-03-11 02:47:58.344685"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (9.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "AHhJsXoUPuyNinp7HdKb"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test17@example.com"], ["encrypted_password", "$2a$04$98M1kHE37ssCPnHJ5vklcusYiYN5BjihoQNq6VRrsroja8RbrEi5m"], ["confirmed_at", "2016-03-11 02:47:58.434418"], ["authentication_token", "AHhJsXoUPuyNinp7HdKb"], ["created_at", "2016-03-11 02:47:58.437537"], ["updated_at", "2016-03-11 02:47:58.437537"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #11"], ["firstname", "Test11"], ["lastname", "Test11"], ["username", "test11"], ["subdomain", "test11"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:58.451915"], ["updated_at", "2016-03-11 02:47:58.451915"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:58.465307"], ["updated_at", "2016-03-11 02:47:58.465307"]] [1m[36m (11.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) [1m[35m (9.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (6.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "czbiDAVQ6StnBgKGxKs6"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test19@example.com"], ["encrypted_password", "$2a$04$SdqkYw5Kne/m//5BwfW4AuJpN42T3tiieJkGNaMvBDoYMppz0XEe."], ["confirmed_at", "2016-03-11 02:47:58.642766"], ["authentication_token", "czbiDAVQ6StnBgKGxKs6"], ["created_at", "2016-03-11 02:47:58.646283"], ["updated_at", "2016-03-11 02:47:58.646283"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:58.662573"], ["updated_at", "2016-03-11 02:47:58.662573"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:58.676404"], ["updated_at", "2016-03-11 02:47:58.676404"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.4ms) Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) [1m[35m (8.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (6.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xkozHbKUjyK2dwzAVXDR"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test21@example.com"], ["encrypted_password", "$2a$04$sqRBeOKD7yxOdatV8RqXFO29kinVDBbmL7ZLox1pZ6BbpNPzJr.jW"], ["confirmed_at", "2016-03-11 02:47:58.798487"], ["authentication_token", "xkozHbKUjyK2dwzAVXDR"], ["created_at", "2016-03-11 02:47:58.802734"], ["updated_at", "2016-03-11 02:47:58.802734"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:58.818034"], ["updated_at", "2016-03-11 02:47:58.818034"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:58.830571"], ["updated_at", "2016-03-11 02:47:58.830571"]] [1m[36m (14.3ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test13"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test13"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.2ms) [1m[35m (9.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "bzo3V4o_A_ts4cWwUpFG"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test22@example.com"], ["encrypted_password", "$2a$04$Q4xnTlR3VTPRm0czCzMm0./MohzWHZIxs.mQIFSiiFbYS59/DTcC2"], ["confirmed_at", "2016-03-11 02:47:58.929654"], ["authentication_token", "bzo3V4o_A_ts4cWwUpFG"], ["created_at", "2016-03-11 02:47:58.933168"], ["updated_at", "2016-03-11 02:47:58.933168"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:58.948508"], ["updated_at", "2016-03-11 02:47:58.948508"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:58.962041"], ["updated_at", "2016-03-11 02:47:58.962041"]] [1m[36m (8.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:58 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test14"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.1ms) [1m[35m (11.4ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "3VYBNuhpYzz8YUqd83ie"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test23@example.com"], ["encrypted_password", "$2a$04$hcZL9Omb01zuJpR6aCC4Ue4cZOsL6u.uRJGEQjK0EwrKBOY4BzBJu"], ["confirmed_at", "2016-03-11 02:47:59.051067"], ["authentication_token", "3VYBNuhpYzz8YUqd83ie"], ["created_at", "2016-03-11 02:47:59.054743"], ["updated_at", "2016-03-11 02:47:59.054743"]] [1m[35m (9.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:59.071662"], ["updated_at", "2016-03-11 02:47:59.071662"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:59.086111"], ["updated_at", "2016-03-11 02:47:59.086111"]] [1m[36m (7.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ubdeFojJB5YQEom6pcY1"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test24@example.com"], ["encrypted_password", "$2a$04$.cRD.emxOpUIzra6WtT67u4csirEa3GDOLdhz/3DkB0zviwpxuBEK"], ["confirmed_at", "2016-03-11 02:47:59.098999"], ["authentication_token", "ubdeFojJB5YQEom6pcY1"], ["created_at", "2016-03-11 02:47:59.102738"], ["updated_at", "2016-03-11 02:47:59.102738"]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 2], ["created_at", "2016-03-11 02:47:59.119603"], ["updated_at", "2016-03-11 02:47:59.119603"]] [1m[35m (10.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 02:47:59.134827"], ["updated_at", "2016-03-11 02:47:59.134827"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:59 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:59 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.7ms) Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.2ms) [1m[35m (9.8ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "RkiRoLGwTccodMz1KVZ3"]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test25@example.com"], ["encrypted_password", "$2a$04$Y9oVQy1q.XM95UuSuKkusefHvZYHp5ODniFpfXRoOx1rmstkiP4bS"], ["confirmed_at", "2016-03-11 02:47:59.240634"], ["authentication_token", "RkiRoLGwTccodMz1KVZ3"], ["created_at", "2016-03-11 02:47:59.245737"], ["updated_at", "2016-03-11 02:47:59.245737"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-11 02:47:59.265391"], ["updated_at", "2016-03-11 02:47:59.265391"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:47:59.280846"], ["updated_at", "2016-03-11 02:47:59.280846"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:47:59 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test17"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test17"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:47:59 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test17"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test17"]] Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.8ms) Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.2ms) [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (27.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.6ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.3ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "rnxBYsRC9LXsSAWfyQYR"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$9PbZyVpawoKz3adsztG1yODlaAFfMqV3a5WMKaoONnMIteuMgrL9a"], ["confirmed_at", "2016-03-11 02:54:15.836967"], ["authentication_token", "rnxBYsRC9LXsSAWfyQYR"], ["created_at", "2016-03-11 02:54:15.933825"], ["updated_at", "2016-03-11 02:54:15.933825"]] [1m[35m (16.7ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:15 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (237.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.7ms) Completed 200 OK in 719ms (Views: 688.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:16 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.7ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:54:16.730804"], ["current_sign_in_at", "2016-03-11 02:54:16.730804"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:54:16.732082"], ["id", 1]] [1m[35m (15.3ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 70ms (ActiveRecord: 16.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:16 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (2.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (15.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 78ms (Views: 28.8ms | ActiveRecord: 3.1ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:54:16 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_if_coming_form_sign_up rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:16 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms) [1m[35m (12.3ms)[0m DELETE FROM "things"; [1m[36m (1.6ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.3ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:16 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:54:16 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (13.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 21.4ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:54:17 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "dx1N-dRARwd1NLKsMNya"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."confirmation_token" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["confirmation_token", "6819a303c67dab474f1009dff3312102fc2c3819ce3efdb9943b1b2f3c54602e"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "authentication_token", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "mtdevise@example.com"], ["encrypted_password", "$2a$04$7joqGUbFyt/XbLCgwJhc/e14zVwV5WICTCoaetQaEl.h.dmL9SqwS"], ["authentication_token", "dx1N-dRARwd1NLKsMNya"], ["created_at", "2016-03-11 02:54:17.072930"], ["updated_at", "2016-03-11 02:54:17.072930"], ["confirmation_token", "o8MG_Djqzxd2LNhVzxD5"], ["confirmation_sent_at", "2016-03-11 02:54:17.309002"]] Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (3.9ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 432.7ms Sent mail to mtdevise@example.com (42.3ms) Date: Fri, 11 Mar 2016 02:54:17 +0000 From: multi-tenancy@phcnetworks.net Reply-To: multi-tenancy@phcnetworks.net To: mtdevise@example.com Message-ID: <56e23359c425d_5b04433242839@bradpotts-dev-mtdevise2-2712226.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:54:17.818180"], ["updated_at", "2016-03-11 02:54:17.818180"]] [1m[36m (14.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:54:17.879150"], ["updated_at", "2016-03-11 02:54:17.879150"]] [1m[35m (12.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 02:54:17.898399"], ["updated_at", "2016-03-11 02:54:17.899080"], ["id", 1]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:54:17.916047"], ["current_sign_in_at", "2016-03-11 02:54:17.916047"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:54:17.916739"], ["id", 1]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 874ms (ActiveRecord: 52.0ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:17 +0000 [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.5ms) [1m[36m (24.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:18 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:54:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:54:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 10.1ms | ActiveRecord: 1.6ms) [1m[36m (10.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:18 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:54:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:54:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 02:54:19.312944"], ["updated_at", "2016-03-11 02:54:19.312944"]] [1m[35m (12.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:54:19.330858"], ["updated_at", "2016-03-11 02:54:19.330858"]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 02:54:19.343745"], ["updated_at", "2016-03-11 02:54:19.344625"], ["id", 1]] [1m[35m (10.8ms)[0m commit transaction [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["account_id", 1]] [1m[35m (10.0ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (12.7ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (11.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (1.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (10.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (8.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.4ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) [1m[35m (10.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) [1m[35m (11.8ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.3ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (11.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "NRQdyLNGEx_fNwzPJyTn"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$JkkkwwraQeVcUB1sSgnQFOWiU6VsfEkBNR9s5.dbocJRH2apUbF8u"], ["confirmed_at", "2016-03-11 02:54:19.758684"], ["authentication_token", "NRQdyLNGEx_fNwzPJyTn"], ["created_at", "2016-03-11 02:54:19.762812"], ["updated_at", "2016-03-11 02:54:19.762812"]] [1m[35m (10.2ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.4ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "orbanbotond@gmail.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 02:54:19.828335"], ["current_sign_in_at", "2016-03-11 02:54:19.828335"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:54:19.829333"], ["id", 1]] [1m[35m (10.9ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.7ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Mtdevise::WelcomeController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Redirected to http://example.com/accounts Filter chain halted as :redirect_logged_in_users_to_account_page rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:19 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.4ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.5ms) [1m[35m (11.3ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (7.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "NkXsVGyU7FsGpRys6kYN"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test8@example.com"], ["encrypted_password", "$2a$04$QTB0QUs.5yVZ4r1BlrebdOnTZX6gbJff4jA.p1OnNKZqDS/YFtORq"], ["confirmed_at", "2016-03-11 02:54:19.968373"], ["authentication_token", "NkXsVGyU7FsGpRys6kYN"], ["created_at", "2016-03-11 02:54:19.975034"], ["updated_at", "2016-03-11 02:54:19.975034"]] [1m[35m (9.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #6"], ["firstname", "Test6"], ["lastname", "Test6"], ["username", "test6"], ["subdomain", "test6"], ["owner_id", 1], ["created_at", "2016-03-11 02:54:19.992150"], ["updated_at", "2016-03-11 02:54:19.992150"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:54:20.006348"], ["updated_at", "2016-03-11 02:54:20.006348"]] [1m[36m (6.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test8@example.com"]] [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:54:20.048875"], ["current_sign_in_at", "2016-03-11 02:54:20.048875"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:54:20.050129"], ["id", 1]] [1m[36m (8.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 9.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.7ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 6.4ms | ActiveRecord: 0.5ms) [1m[35m (9.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.4ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) [1m[35m (11.6ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (9.0ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "A33Mh3xcPxTg6od81RXZ"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test10@example.com"], ["encrypted_password", "$2a$04$mOKyxF/Jtg1R.fL12PyE2OC8awlSNw/rlpJ5FnxuZ5Wg30rAriz1u"], ["confirmed_at", "2016-03-11 02:54:20.273775"], ["authentication_token", "A33Mh3xcPxTg6od81RXZ"], ["created_at", "2016-03-11 02:54:20.279860"], ["updated_at", "2016-03-11 02:54:20.279860"]] [1m[35m (8.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 [1m[36mMtdevise::Account Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #7"], ["firstname", "Test7"], ["lastname", "Test7"], ["username", "test7"], ["subdomain", "test7"], ["owner_id", 1], ["created_at", "2016-03-11 02:54:20.297581"], ["updated_at", "2016-03-11 02:54:20.297581"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:54:20.310770"], ["updated_at", "2016-03-11 02:54:20.310770"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test10@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:54:20.346737"], ["current_sign_in_at", "2016-03-11 02:54:20.346737"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:54:20.347740"], ["id", 1]] [1m[36m (11.2ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.3ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.2ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 6.5ms | ActiveRecord: 1.4ms) [1m[35m (11.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "_kQhiKzRLRSchyZRGdyQ"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test12@example.com"], ["encrypted_password", "$2a$04$znZuRp2GXnWvfVigpRImaelghziemq2B4VcREp5kKl0zmlzDpN6xi"], ["confirmed_at", "2016-03-11 02:54:20.490357"], ["authentication_token", "_kQhiKzRLRSchyZRGdyQ"], ["created_at", "2016-03-11 02:54:20.493377"], ["updated_at", "2016-03-11 02:54:20.493377"]] [1m[35m (10.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #8"], ["firstname", "Test8"], ["lastname", "Test8"], ["username", "test8"], ["subdomain", "test8"], ["owner_id", 1], ["created_at", "2016-03-11 02:54:20.509818"], ["updated_at", "2016-03-11 02:54:20.509818"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 02:54:20.523309"], ["updated_at", "2016-03-11 02:54:20.523309"]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (6.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 11.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test12@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 02:54:20.572023"], ["current_sign_in_at", "2016-03-11 02:54:20.572023"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 02:54:20.573248"], ["id", 1]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.5ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 02:54:20 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 03:03:43.014486"], ["updated_at", "2016-03-11 03:03:43.014486"]] [1m[36m (17.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:03:43.037900"], ["updated_at", "2016-03-11 03:03:43.037900"]] [1m[35m (8.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 03:03:43.047656"], ["updated_at", "2016-03-11 03:03:43.048282"], ["id", 1]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (8.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (6.6ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (6.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "W5k6QfozoLRDd8UQTqnF"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$WBpxlucSPHM2E355pn0Gk.k95jRN3vitCvbMSn.Mc5UEp5Sxv464y"], ["confirmed_at", "2016-03-11 03:03:43.162795"], ["authentication_token", "W5k6QfozoLRDd8UQTqnF"], ["created_at", "2016-03-11 03:03:43.166463"], ["updated_at", "2016-03-11 03:03:43.166463"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:03:43 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (35.4ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (36.4ms) Completed 500 Internal Server Error in 38ms (ActiveRecord: 0.0ms) [1m[35m (11.2ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "PycM5CMsTaUSgn9oqxWY"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test19@example.com"], ["encrypted_password", "$2a$04$S6cI/9Tfr.La/l33oVvrz.WKfpR1nCLcL8v/c2yF3bGoG.mdQNdna"], ["confirmed_at", "2016-03-11 03:03:43.278308"], ["authentication_token", "PycM5CMsTaUSgn9oqxWY"], ["created_at", "2016-03-11 03:03:43.281124"], ["updated_at", "2016-03-11 03:03:43.281124"]] [1m[35m (11.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 03:03:43.297189"], ["updated_at", "2016-03-11 03:03:43.297189"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:03:43.309950"], ["updated_at", "2016-03-11 03:03:43.309950"]] [1m[36m (8.4ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:43 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (1.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (1.1ms) Completed 200 OK in 342ms (Views: 341.3ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 03:03:43 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (11.4ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (32.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 42.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:03:43 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test19@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 9.3ms | ActiveRecord: 1.4ms) [1m[35m (14.9ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (8.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 03:03:43.921180"], ["updated_at", "2016-03-11 03:03:43.921180"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:43 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 03:03:43 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.0ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:03:43 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 8.3ms | ActiveRecord: 1.5ms) [1m[35m (11.1ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.1ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 83ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.9ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.1ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 03:03:44.285189"], ["updated_at", "2016-03-11 03:03:44.285189"]] [1m[36m (11.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:03:44.301268"], ["updated_at", "2016-03-11 03:03:44.301268"]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 03:03:44.311828"], ["updated_at", "2016-03-11 03:03:44.312487"], ["id", 1]] [1m[36m (8.8ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 03:03:44.328332"], ["current_sign_in_at", "2016-03-11 03:03:44.328332"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:03:44.329048"], ["id", 1]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m Redirected to http://test.example.com/ Completed 302 Found in 77ms (ActiveRecord: 41.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 [1m[35mMtdevise::Account Load (0.4ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test"]] [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 0.4ms) [1m[36m (8.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (6.8ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.8ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 8.0ms | ActiveRecord: 1.6ms) [1m[36m (10.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.4ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (9.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "jd6xMV58oqt-rQZ6HLeY"]] [1m[35mSQL (0.7ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$f3tTLkxsvvBtIgzKdgvOxejxgKXdmZi8D8rcOCXyCEFUk3bfY.6nu"], ["confirmed_at", "2016-03-11 03:03:44.570416"], ["authentication_token", "jd6xMV58oqt-rQZ6HLeY"], ["created_at", "2016-03-11 03:03:44.574251"], ["updated_at", "2016-03-11 03:03:44.574251"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 03:03:44.589920"], ["updated_at", "2016-03-11 03:03:44.589920"]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:03:44.601913"], ["updated_at", "2016-03-11 03:03:44.601913"]] [1m[35m (7.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "fcMtPL-syxBXEe6tFxeG"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$r0LhTiMC1aB2ZwyCxGamaONm7Y8mup2siCf/P6B61lqRHenlKZQi2"], ["confirmed_at", "2016-03-11 03:03:44.613694"], ["authentication_token", "fcMtPL-syxBXEe6tFxeG"], ["created_at", "2016-03-11 03:03:44.616298"], ["updated_at", "2016-03-11 03:03:44.616298"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 2], ["created_at", "2016-03-11 03:03:44.631074"], ["updated_at", "2016-03-11 03:03:44.631074"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 03:03:44.644135"], ["updated_at", "2016-03-11 03:03:44.644135"]] [1m[35m (9.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 03:03:44.662376"], ["updated_at", "2016-03-11 03:03:44.662376"]] [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 03:03:44.674625"], ["updated_at", "2016-03-11 03:03:44.674625"]] [1m[35m (7.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (37.1ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (38.0ms) Completed 500 Internal Server Error in 40ms (ActiveRecord: 0.0ms) [1m[36m (10.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (6.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1 [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Q_r_r38R1dpxbrrGyznU"]] [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$N.0wyusgkTlGEeGc62XdB.50FqnPhWO0wwA31.ktVa1xDcYWYVLJe"], ["confirmed_at", "2016-03-11 03:03:44.811800"], ["authentication_token", "Q_r_r38R1dpxbrrGyznU"], ["created_at", "2016-03-11 03:03:44.815964"], ["updated_at", "2016-03-11 03:03:44.815964"]] [1m[36m (11.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 1], ["created_at", "2016-03-11 03:03:44.835304"], ["updated_at", "2016-03-11 03:03:44.835304"]] [1m[36m (9.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:03:44.849698"], ["updated_at", "2016-03-11 03:03:44.849698"]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "xyCNCnV9MGcggDN5orSf"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$OHlI18E986.NFZdsLL.hF.k5jFtHKH7M/IoUSI0TJF8LnUAwg.lCG"], ["confirmed_at", "2016-03-11 03:03:44.861499"], ["authentication_token", "xyCNCnV9MGcggDN5orSf"], ["created_at", "2016-03-11 03:03:44.864469"], ["updated_at", "2016-03-11 03:03:44.864469"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 2], ["created_at", "2016-03-11 03:03:44.879111"], ["updated_at", "2016-03-11 03:03:44.879111"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 03:03:44.892237"], ["updated_at", "2016-03-11 03:03:44.892237"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-03-11 03:03:44.904457"], ["updated_at", "2016-03-11 03:03:44.904457"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-03-11 03:03:44.916482"], ["updated_at", "2016-03-11 03:03:44.916482"]] [1m[35m (9.0ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:03:44 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (37.0ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (37.7ms) Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.0ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.5ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (11.2ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.1ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:45 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "nonexisting"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "nonexisting"]] Redirected to http://example.com/ Filter chain halted as :check_subdomain rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:45 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) [1m[36m (11.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.4ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.3ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:45 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:03:45 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (60.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (61.8ms) Completed 500 Internal Server Error in 63ms (ActiveRecord: 0.0ms) [1m[36m (12.6ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (11.2ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.6ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-03-11 03:03:45 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.4ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 03:03:45 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.1ms) Rendered /usr/local/rvm/gems/ruby-2.1.5@mtdevise/gems/phcnotifi-0.2.5/app/views/layouts/phcnotifi/components/_notifications.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.0ms) [1m[36m (10.0ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "Eug_yv_ZEbpCMDZ_afCz"]] [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$8Q3F3ZcjemXeHt8oyma.e.fpBn88m4.i8iLmMar6UNh9s.pBUymUW"], ["confirmed_at", "2016-03-11 03:03:45.357650"], ["authentication_token", "Eug_yv_ZEbpCMDZ_afCz"], ["created_at", "2016-03-11 03:03:45.362996"], ["updated_at", "2016-03-11 03:03:45.362996"]] [1m[36m (10.0ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:03:45 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/phcnotifi/components/_validations.html.erb (36.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (37.7ms) Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.0ms) [1m[35m (13.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (12.6ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (13.5ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (10.5ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Fy6AHNQV4EDs3FVzbwcV"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test1@example.com"], ["encrypted_password", "$2a$04$az..6D5G42P9HCCq48JQy..CIb0s8VWQ7qz.WCzBlkPH/q1yfusI."], ["confirmed_at", "2016-03-11 03:18:48.473143"], ["authentication_token", "Fy6AHNQV4EDs3FVzbwcV"], ["created_at", "2016-03-11 03:18:48.565819"], ["updated_at", "2016-03-11 03:18:48.565819"]] [1m[35m (15.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #1"], ["firstname", "Test1"], ["lastname", "Test1"], ["username", "test1"], ["subdomain", "test1"], ["owner_id", 1], ["created_at", "2016-03-11 03:18:48.605765"], ["updated_at", "2016-03-11 03:18:48.605765"]] [1m[35m (16.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:18:48.701886"], ["updated_at", "2016-03-11 03:18:48.701886"]] [1m[36m (11.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:48 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (2.3ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (249.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.9ms) Completed 200 OK in 9070ms (Views: 9040.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:57 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 03:18:57.911803"], ["current_sign_in_at", "2016-03-11 03:18:57.911803"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:18:57.912887"], ["id", 1]] [1m[36m (13.0ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 64ms (ActiveRecord: 14.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 03:18:57 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.5ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (11.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 30.2ms | ActiveRecord: 1.0ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (9.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["created_at", "2016-03-11 03:18:58.062152"], ["updated_at", "2016-03-11 03:18:58.062152"]] [1m[36m (12.0ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 1], ["created_at", "2016-03-11 03:18:58.082031"], ["updated_at", "2016-03-11 03:18:58.082031"]] [1m[36m (7.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 2 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ? [["owner_id", 1], ["updated_at", "2016-03-11 03:18:58.094917"], ["id", 2]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 55ms (ActiveRecord: 31.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (2.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.5ms) [1m[35m (9.9ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.9ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.5ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "-NcQpuSKkXEyTwczuTBC"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test3@example.com"], ["encrypted_password", "$2a$04$dWMusSZyktl76CyGmIzYeukUSKYY5PKTuIRyQaP2ez6l9sR00M4GG"], ["confirmed_at", "2016-03-11 03:18:58.200412"], ["authentication_token", "-NcQpuSKkXEyTwczuTBC"], ["created_at", "2016-03-11 03:18:58.203683"], ["updated_at", "2016-03-11 03:18:58.203683"]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #2"], ["firstname", "Test2"], ["lastname", "Test2"], ["username", "test2"], ["subdomain", "test2"], ["owner_id", 1], ["created_at", "2016-03-11 03:18:58.221834"], ["updated_at", "2016-03-11 03:18:58.221834"]] [1m[35m (9.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:18:58.236911"], ["updated_at", "2016-03-11 03:18:58.236911"]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]] [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 03:18:58.279601"], ["current_sign_in_at", "2016-03-11 03:18:58.279601"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:18:58.280800"], ["id", 1]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test2"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.3ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 13.5ms | ActiveRecord: 1.6ms) [1m[35m (10.3ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.8ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.1ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (6.8ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.8ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "rYvLyJvGyaVTVnE5bhhi"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test5@example.com"], ["encrypted_password", "$2a$04$o8fT.ZhA04vAirEDE.KLv.jVhu8kkABNmb0SXgOh4.gpY3SxlPGjK"], ["confirmed_at", "2016-03-11 03:18:58.432084"], ["authentication_token", "rYvLyJvGyaVTVnE5bhhi"], ["created_at", "2016-03-11 03:18:58.435579"], ["updated_at", "2016-03-11 03:18:58.435579"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.3ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #3"], ["firstname", "Test3"], ["lastname", "Test3"], ["username", "test3"], ["subdomain", "test3"], ["owner_id", 1], ["created_at", "2016-03-11 03:18:58.452691"], ["updated_at", "2016-03-11 03:18:58.452691"]] [1m[35m (9.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:18:58.465921"], ["updated_at", "2016-03-11 03:18:58.465921"]] [1m[36m (7.8ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.3ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test5@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 03:18:58.502263"], ["current_sign_in_at", "2016-03-11 03:18:58.502263"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:18:58.503679"], ["id", 1]] [1m[36m (9.7ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 10.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 6.9ms | ActiveRecord: 1.3ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.5ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (7.3ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (7.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.7ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "zyeGGN8nA6aNJjakqkgM"]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test7@example.com"], ["encrypted_password", "$2a$04$YofyyABxp8xLfM3elYfBaeiTV9.yyvo7UwR69EnL7ZI0iCUtvihOS"], ["confirmed_at", "2016-03-11 03:18:58.642982"], ["authentication_token", "zyeGGN8nA6aNJjakqkgM"], ["created_at", "2016-03-11 03:18:58.646015"], ["updated_at", "2016-03-11 03:18:58.646015"]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #4"], ["firstname", "Test4"], ["lastname", "Test4"], ["username", "test4"], ["subdomain", "test4"], ["owner_id", 1], ["created_at", "2016-03-11 03:18:58.659194"], ["updated_at", "2016-03-11 03:18:58.659194"]] [1m[35m (9.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:18:58.672600"], ["updated_at", "2016-03-11 03:18:58.672600"]] [1m[36m (9.1ms)[0m [1mcommit transaction[0m Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test7@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 03:18:58.715209"], ["current_sign_in_at", "2016-03-11 03:18:58.715209"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:18:58.716545"], ["id", 1]] [1m[36m (10.9ms)[0m [1mcommit transaction[0m Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ?[0m [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (0.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#new as HTML [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:18:58 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"Welcome mtdevise@example.com!
You can confirm your account through the link below:
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 03:19:00.219366"], ["updated_at", "2016-03-11 03:19:00.219366"]] [1m[35m (16.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:19:00.241777"], ["updated_at", "2016-03-11 03:19:00.241777"]] [1m[36m (8.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mUPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["confirmed_at", "2016-03-11 03:19:00.251817"], ["updated_at", "2016-03-11 03:19:00.252561"], ["id", 1]] [1m[35m (9.6ms)[0m commit transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."id" != 1 AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.7ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 03:19:00.269596"], ["current_sign_in_at", "2016-03-11 03:19:00.269596"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:19:00.270255"], ["id", 1]] [1m[35m (9.7ms)[0m commit transaction Redirected to http://test.example.com/ Completed 302 Found in 815ms (ActiveRecord: 48.2ms) Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:00 +0000 [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.3ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (1.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 0.5ms) [1m[35m (12.2ms)[0m DELETE FROM "things"; [1m[36m (0.4ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.2ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.7ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (10.1ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.2ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (10.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("subdomain", "name", "firstname", "lastname", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["subdomain", "test"], ["name", "Test"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["created_at", "2016-03-11 03:19:00.396133"], ["updated_at", "2016-03-11 03:19:00.396133"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:00 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 03:19:00 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:19:00 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"test"}, "commit"=>"Create Account"} [1m[35m (0.2ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1[0m Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (2.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (7.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 10.2ms | ActiveRecord: 1.7ms) [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (8.0ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:00 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-03-11 03:19:00 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (5.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-03-11 03:19:00 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"mtdevise@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"Welcome user@example.com!
You can confirm your account through the link below:
[1m[35mSQL (0.1ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account"], ["firstname", "Test"], ["lastname", "Test"], ["username", "test"], ["subdomain", "test"], ["owner_id", 1], ["created_at", "2016-03-11 03:19:01.992298"], ["updated_at", "2016-03-11 03:19:01.992298"]] [1m[36m (10.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:19:02.006661"], ["updated_at", "2016-03-11 03:19:02.006661"]] [1m[35m (8.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-03-11 03:19:02.016374"], ["updated_at", "2016-03-11 03:19:02.016916"], ["id", 1]] [1m[36m (10.8ms)[0m [1mcommit transaction[0m [1m[35mMtdevise::User Load (0.5ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["account_id", 1]] [1m[36m (9.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (7.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (8.1ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.2ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (7.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "AXyMVZZyzrnsRZ-QogNq"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$7/HEsa1FAwOaE1uGxppbNecG44YINUuBCQHe9wm4EH55ha/kZyZVm"], ["confirmed_at", "2016-03-11 03:19:02.139659"], ["authentication_token", "AXyMVZZyzrnsRZ-QogNq"], ["created_at", "2016-03-11 03:19:02.142729"], ["updated_at", "2016-03-11 03:19:02.142729"]] [1m[36m (9.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #12"], ["firstname", "Test12"], ["lastname", "Test12"], ["username", "test12"], ["subdomain", "test12"], ["owner_id", 1], ["created_at", "2016-03-11 03:19:02.158364"], ["updated_at", "2016-03-11 03:19:02.158364"]] [1m[36m (7.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:19:02.169361"], ["updated_at", "2016-03-11 03:19:02.169361"]] [1m[35m (10.8ms)[0m commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["email", "test19@example.com"]] [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mUPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ?[0m [["last_sign_in_at", "2016-03-11 03:19:02.224747"], ["current_sign_in_at", "2016-03-11 03:19:02.224747"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:19:02.225839"], ["id", 1]] [1m[35m (10.4ms)[0m commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 11.1ms) Started GET "/accounts" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 Processing by Mtdevise::AccountsController#index as HTML [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."owner_id" = ? [["owner_id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/index.html.erb within layouts/mtdevise/accountsindex (1.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.3ms) [1m[36m (9.3ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (7.7ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (8.9ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.0ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (7.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (1.5ms) Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.0ms) [1m[36m (10.9ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.4ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (10.6ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (8.0ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (7.4ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.3ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.9ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.3ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "yWxWh7PBtFyfXV_Jz76w"]] [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$3ezWE9pcvHQwhuEqANkeaOLZAVPrxzSN9wtyzEL4TEYWOMI5r8uJy"], ["confirmed_at", "2016-03-11 03:19:02.443389"], ["authentication_token", "yWxWh7PBtFyfXV_Jz76w"], ["created_at", "2016-03-11 03:19:02.446509"], ["updated_at", "2016-03-11 03:19:02.446509"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #13"], ["firstname", "Test13"], ["lastname", "Test13"], ["username", "test13"], ["subdomain", "test13"], ["owner_id", 1], ["created_at", "2016-03-11 03:19:02.462286"], ["updated_at", "2016-03-11 03:19:02.462286"]] [1m[36m (7.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:19:02.473862"], ["updated_at", "2016-03-11 03:19:02.473862"]] [1m[35m (11.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test13"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] [1m[36mMtdevise::Account Load (0.3ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test13"]] [1m[35mMtdevise::User Load (0.4ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test21@example.com"]] [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m UPDATE "mtdevise_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["last_sign_in_at", "2016-03-11 03:19:02.522527"], ["current_sign_in_at", "2016-03-11 03:19:02.522527"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-03-11 03:19:02.523527"], ["id", 1]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m Redirected to http://test13.example.com/ Completed 302 Found in 24ms (ActiveRecord: 13.1ms) Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test13"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test13"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Rendered /home/ubuntu/workspace/app/views/mtdevise/account/dashboard/index.html.erb within layouts/mtdevise/dashboard (0.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.3ms) [1m[36m (12.7ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (7.9ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.3ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (9.5ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.7ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (9.5ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "RgzYpGvsA_NASiiW2575"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$9tBbj6Q2cIKEYQvcTvgiie5TRrPqSTut74qkVgDAdNkwHtZrrjvXK"], ["confirmed_at", "2016-03-11 03:19:02.630778"], ["authentication_token", "RgzYpGvsA_NASiiW2575"], ["created_at", "2016-03-11 03:19:02.634288"], ["updated_at", "2016-03-11 03:19:02.634288"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #14"], ["firstname", "Test14"], ["lastname", "Test14"], ["username", "test14"], ["subdomain", "test14"], ["owner_id", 1], ["created_at", "2016-03-11 03:19:02.647513"], ["updated_at", "2016-03-11 03:19:02.647513"]] [1m[36m (9.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:19:02.661653"], ["updated_at", "2016-03-11 03:19:02.661653"]] [1m[35m (8.6ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test14"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test14"]] [1m[35mMtdevise::User Load (0.2ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "test22@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test14"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.0ms) [1m[35m (10.5ms)[0m DELETE FROM "things"; [1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (8.4ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.3ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.6ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (9.7ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (8.9ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "msPk4jshGEJf-6pxAZFU"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test23@example.com"], ["encrypted_password", "$2a$04$37M2VSMwCo5fd3L/VxUMHeCuGrxoczL/fmttV1mJAK3JHdRgdpZCK"], ["confirmed_at", "2016-03-11 03:19:02.793854"], ["authentication_token", "msPk4jshGEJf-6pxAZFU"], ["created_at", "2016-03-11 03:19:02.797323"], ["updated_at", "2016-03-11 03:19:02.797323"]] [1m[35m (7.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #15"], ["firstname", "Test15"], ["lastname", "Test15"], ["username", "test15"], ["subdomain", "test15"], ["owner_id", 1], ["created_at", "2016-03-11 03:19:02.811322"], ["updated_at", "2016-03-11 03:19:02.811322"]] [1m[35m (9.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:19:02.826006"], ["updated_at", "2016-03-11 03:19:02.826006"]] [1m[36m (10.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "T2LYWMry63qYz4J9JMxQ"]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test24@example.com"], ["encrypted_password", "$2a$04$YgVmIrvLaCEqvqyKhQ9zq.Vvh2xJV1ScdTh.p2vGC8B0gaHNsbaqK"], ["confirmed_at", "2016-03-11 03:19:02.842588"], ["authentication_token", "T2LYWMry63qYz4J9JMxQ"], ["created_at", "2016-03-11 03:19:02.846241"], ["updated_at", "2016-03-11 03:19:02.846241"]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Test Account #16"], ["firstname", "Test16"], ["lastname", "Test16"], ["username", "test16"], ["subdomain", "test16"], ["owner_id", 2], ["created_at", "2016-03-11 03:19:02.861416"], ["updated_at", "2016-03-11 03:19:02.861416"]] [1m[35m (11.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-03-11 03:19:02.877279"], ["updated_at", "2016-03-11 03:19:02.877279"]] [1m[36m (9.2ms)[0m [1mcommit transaction[0m Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Devise::SessionsController#new as HTML [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:02 +0000 [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test15"]] [1m[35mMtdevise::Account Load (0.2ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test15"]] [1m[36mMtdevise::User Load (0.2ms)[0m [1mSELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1[0m [["account_id", 1], ["email", "test24@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mCACHE (0.0ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.0ms) [1m[36m (10.5ms)[0m [1mDELETE FROM "things";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'things';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_accounts"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (9.5ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_accounts'; [1m[36m (10.1ms)[0m [1mDELETE FROM "mtdevise_users";[0m [1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (11.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_users';[0m [1m[35m (10.0ms)[0m DELETE FROM "mtdevise_members"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (7.9ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_members'; [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mMtdevise::User Exists (0.2ms)[0m SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ?[0m [["authentication_token", "cP2ouAZkBvhJWMkksLLg"]] [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test25@example.com"], ["encrypted_password", "$2a$04$sGrV/G5G7ClhcomDp7OnfOz6WATzwezoUcJ4cJdxmam1RgwyllvAm"], ["confirmed_at", "2016-03-11 03:19:03.011999"], ["authentication_token", "cP2ouAZkBvhJWMkksLLg"], ["created_at", "2016-03-11 03:19:03.015139"], ["updated_at", "2016-03-11 03:19:03.015139"]] [1m[36m (10.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mMtdevise::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1[0m [1m[35mMtdevise::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 [1m[36mMtdevise::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "mtdevise_accounts" ("name", "firstname", "lastname", "username", "subdomain", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Test Account #17"], ["firstname", "Test17"], ["lastname", "Test17"], ["username", "test17"], ["subdomain", "test17"], ["owner_id", 1], ["created_at", "2016-03-11 03:19:03.030568"], ["updated_at", "2016-03-11 03:19:03.030568"]] [1m[36m (7.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 1], ["user_id", 1], ["created_at", "2016-03-11 03:19:03.041943"], ["updated_at", "2016-03-11 03:19:03.041943"]] [1m[35m (7.4ms)[0m commit transaction Started GET "/" for 127.0.0.1 at 2016-03-11 03:19:03 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test17"]] Processing by Mtdevise::Account::DashboardController#index as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:03 +0000 [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test17"]] Processing by Devise::SessionsController#new as HTML [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-03-11 03:19:03 +0000 [1m[36mMtdevise::Account Load (0.2ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1[0m [["subdomain", "test17"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[35mMtdevise::Account Load (0.1ms)[0m SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] [1m[36mMtdevise::Account Load (0.1ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1[0m [["subdomain", "test17"]] [1m[35mMtdevise::User Load (0.1ms)[0m SELECT "mtdevise_users".* FROM "mtdevise_users" INNER JOIN "mtdevise_members" ON "mtdevise_users"."id" = "mtdevise_members"."user_id" WHERE "mtdevise_members"."account_id" = ? AND "mtdevise_users"."email" = ? LIMIT 1 [["account_id", 1], ["email", "foo@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} [1m[36mCACHE (0.0ms)[0m [1mSELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ?[0m [["subdomain", "test17"]] Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.1ms) Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (2.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.0ms) [1m[35m (10.7ms)[0m DELETE FROM "things"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'things'; [1m[36m (9.1ms)[0m [1mDELETE FROM "mtdevise_accounts";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.4ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_accounts';[0m [1m[35m (9.8ms)[0m DELETE FROM "mtdevise_users"; [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m [1m[35m (8.0ms)[0m DELETE FROM sqlite_sequence where name = 'mtdevise_users'; [1m[36m (14.0ms)[0m [1mDELETE FROM "mtdevise_members";[0m [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; [1m[36m (9.5ms)[0m [1mDELETE FROM sqlite_sequence where name = 'mtdevise_members';[0m