(14.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (11.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateThings (20140428155742)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "things" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "account_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140428155742"]]  (12.4ms) commit transaction Migrating to CreateMtdeviseAccounts (20150426071228)  (0.2ms) begin transaction  (0.5ms) CREATE TABLE "mtdevise_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426071228"]]  (10.2ms) commit transaction Migrating to AddOwnerIdToMtdeviseAccounts (20150426115631)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "mtdevise_accounts" ADD "owner_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426115631"]]  (13.3ms) commit transaction Migrating to CreateMtdeviseUsers (20150426115910)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "mtdevise_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426115910"]]  (10.7ms) commit transaction Migrating to AddDeviseToMtdeviseUsers (20150426143800)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "mtdevise_users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "mtdevise_users" ADD "reset_password_token" varchar  (0.2ms) ALTER TABLE "mtdevise_users" ADD "reset_password_sent_at" datetime  (0.2ms) ALTER TABLE "mtdevise_users" ADD "remember_created_at" datetime  (0.2ms) ALTER TABLE "mtdevise_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL  (0.2ms) ALTER TABLE "mtdevise_users" ADD "current_sign_in_at" datetime  (0.3ms) ALTER TABLE "mtdevise_users" ADD "last_sign_in_at" datetime  (0.2ms) ALTER TABLE "mtdevise_users" ADD "current_sign_in_ip" varchar  (0.2ms) ALTER TABLE "mtdevise_users" ADD "last_sign_in_ip" varchar  (3.9ms) CREATE UNIQUE INDEX "index_mtdevise_users_on_email" ON "mtdevise_users" ("email")  (0.1ms) 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'  (0.2ms) CREATE UNIQUE INDEX "index_mtdevise_users_on_reset_password_token" ON "mtdevise_users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426143800"]]  (11.0ms) commit transaction Migrating to AddSubdomainToMtdeviseAccounts (20150427200506)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "mtdevise_accounts" ADD "subdomain" varchar  (0.2ms) CREATE INDEX "index_mtdevise_accounts_on_subdomain" ON "mtdevise_accounts" ("subdomain") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150427200506"]]  (8.7ms) commit transaction Migrating to CreateMtdeviseMembers (20150428110406)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "mtdevise_members" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150428110406"]]  (11.1ms) commit transaction Migrating to AddConfirmedAtToUsers (20150504181830)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "mtdevise_users" ADD "confirmed_at" datetime  (0.4ms) ALTER TABLE "mtdevise_users" ADD "confirmation_token" varchar  (0.2ms) ALTER TABLE "mtdevise_users" ADD "confirmation_sent_at" datetime  (0.2ms) ALTER TABLE "mtdevise_users" ADD "unconfirmed_email" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150504181830"]]  (9.8ms) commit transaction Migrating to AddAuthenticationTokenToMtdeviseUsers (20150719125100)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "mtdevise_users" ADD "authentication_token" varchar  (0.1ms) 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'  (0.1ms)  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'   (0.2ms) CREATE INDEX "index_mtdevise_users_on_authentication_token" ON "mtdevise_users" ("authentication_token") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150719125100"]]  (8.8ms) commit transaction Migrating to AddFirstnameToMtdeviseAccounts (20151231043439)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "mtdevise_accounts" ADD "firstname" varchar  (0.2ms) ALTER TABLE "mtdevise_accounts" ADD "lastname" varchar  (0.2ms) ALTER TABLE "mtdevise_accounts" ADD "username" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151231043439"]]  (10.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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'  (0.2ms)  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'   (0.2ms) 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'  (0.2ms)  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'  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (16.7ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (11.5ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.6ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (15.7ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "vKHVvxRNsCo_S5zZYXyP"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$QqG5.Z5/MykN.CqfPKJEBOSL9A6/ouwLZa.LCG5eQCkYO/F9CoyMS"], ["confirmed_at", "2016-05-26 18:50:04.268550"], ["authentication_token", "vKHVvxRNsCo_S5zZYXyP"], ["created_at", "2016-05-26 18:50:04.338419"], ["updated_at", "2016-05-26 18:50:04.338419"]]  (12.1ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:04 +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 (146.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (1.2ms) Completed 200 OK in 10173ms (Views: 10127.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:14 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.8ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]]  (0.1ms) begin transaction SQL (0.5ms) 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-05-26 18:50:14.609191"], ["current_sign_in_at", "2016-05-26 18:50:14.609191"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:14.610876"], ["id", 1]]  (18.3ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 62ms (ActiveRecord: 19.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:14 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.3ms) 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.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 88ms (Views: 32.9ms | ActiveRecord: 1.1ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:50:14 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:14 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.1ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.4ms)  (12.8ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.1ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.0ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.5ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:14 +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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:50:14 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.6ms) 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 (13.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 20.9ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:50:14 +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"}  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (1.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 10.8ms | ActiveRecord: 1.7ms)  (12.8ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (9.4ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.4ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.1ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:50: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/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-05-26 18:50:15 +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 (3.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:50: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"=>""}, "commit"=>"Create Account"}  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 6.2ms | ActiveRecord: 1.7ms)  (10.7ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.5ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.2ms) DELETE FROM "mtdevise_members";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.3ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "FNyxCQnAs2zJq3qvd2Af"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$lWZx9.QmxQhXel5kxhbq4OS0EwbraO/v.lQ/Rslgw2rDaEzWWow96"], ["confirmed_at", "2016-05-26 18:50:15.146298"], ["authentication_token", "FNyxCQnAs2zJq3qvd2Af"], ["created_at", "2016-05-26 18:50:15.150104"], ["updated_at", "2016-05-26 18:50:15.150104"]]  (12.2ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 SQL (0.4ms) 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-05-26 18:50:15.168194"], ["updated_at", "2016-05-26 18:50:15.168194"]]  (10.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:15.223635"], ["updated_at", "2016-05-26 18:50:15.223635"]]  (12.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:50: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/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-05-26 18:50:15 +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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.9ms) 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 "/accounts" for 127.0.0.1 at 2016-05-26 18:50:15 +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"}  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 6.8ms | ActiveRecord: 1.5ms)  (13.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.1ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.0ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:50: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/shared/_flash.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-05-26 18:50:15 +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.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:50: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"=>"test"}, "commit"=>"Create Account"}  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "o2Nk-oA8_d-SPdhn-4SW"]] SQL (0.4ms) 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$HWcpmFMoInnlxATApJepZ.oV.NMDikas3SSlsZ5bSfu.d7aJDhwPq"], ["authentication_token", "o2Nk-oA8_d-SPdhn-4SW"], ["created_at", "2016-05-26 18:50:15.437706"], ["updated_at", "2016-05-26 18:50:15.437706"], ["confirmation_token", "cJgy6u3rxystHq8xy3kj"], ["confirmation_sent_at", "2016-05-26 18:50:15.438029"]] SQL (0.1ms) 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-05-26 18:50:15.439974"], ["updated_at", "2016-05-26 18:50:15.439974"]]  (11.1ms) commit transaction Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (6.0ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 440.2ms Sent mail to mtdevise@example.com (44.6ms) Date: Thu, 26 May 2016 18:50:15 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: mtdevise@example.com Message-ID: <57474567eb1a5_f864310e827819@bradpotts-mtdevsie-3243298.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome mtdevise@example.com!

You can confirm your account through the link below:

Confirm my account

 (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:15.983442"], ["updated_at", "2016-05-26 18:50:15.983442"]]  (24.0ms) commit transaction  (0.2ms) begin transaction SQL (0.9ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:50:16.010146"], ["updated_at", "2016-05-26 18:50:16.011905"], ["id", 1]]  (17.9ms) commit transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) 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-05-26 18:50:16.039747"], ["current_sign_in_at", "2016-05-26 18:50:16.039747"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:16.040588"], ["id", 1]]  (13.5ms) commit transaction Redirected to http://test.example.com/ Completed 302 Found in 629ms (ActiveRecord: 70.6ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:16 +0000 Mtdevise::Account Load (0.4ms) 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 Mtdevise::Account Load (0.4ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] Mtdevise::User Load (0.2ms) 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/shared/_header.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 16.6ms | ActiveRecord: 0.6ms)  (15.2ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'things';  (16.1ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.4ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (16.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::Account Exists (0.7ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 SQL (0.5ms) 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-05-26 18:50:16.202742"], ["updated_at", "2016-05-26 18:50:16.202742"]]  (12.4ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:50: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.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:50:16 +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.9ms) 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 13ms (Views: 9.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:50:16 +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"}  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (3.9ms) 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 (8.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 13.2ms | ActiveRecord: 1.8ms)  (13.4ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (13.0ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.4ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.3ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.5ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "RtzHzC9afuc6MCT2xzA6"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test2@example.com"], ["encrypted_password", "$2a$04$S4z5H0VNIeH1/LFw6jvULO2urOu3/RGHnNw1qCQuGaYEHMlEKdlUi"], ["confirmed_at", "2016-05-26 18:50:16.435960"], ["authentication_token", "RtzHzC9afuc6MCT2xzA6"], ["created_at", "2016-05-26 18:50:16.440652"], ["updated_at", "2016-05-26 18:50:16.440652"]]  (12.7ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 SQL (0.5ms) 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-05-26 18:50:16.462489"], ["updated_at", "2016-05-26 18:50:16.462489"]]  (11.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:16.480927"], ["updated_at", "2016-05-26 18:50:16.480927"]]  (10.2ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50: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.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.3ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:16 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.7ms) 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 6ms (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"} 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.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 9.2ms | ActiveRecord: 0.0ms)  (13.9ms) DELETE FROM "things";  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (12.6ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (15.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "pbt7FFGzuivtzaGFU1zb"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$kXl9mRjnk9Ufln/9xWnxz./lq3O4yvxAV.6RSEWtzNLF9T.7D9hD."], ["confirmed_at", "2016-05-26 18:50:16.641675"], ["authentication_token", "pbt7FFGzuivtzaGFU1zb"], ["created_at", "2016-05-26 18:50:16.646170"], ["updated_at", "2016-05-26 18:50:16.646170"]]  (15.9ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 SQL (0.5ms) 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-05-26 18:50:16.671163"], ["updated_at", "2016-05-26 18:50:16.671163"]]  (11.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:16.689718"], ["updated_at", "2016-05-26 18:50:16.689718"]]  (10.5ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50: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 (2.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:50:16 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test3@example.com"]]  (0.1ms) begin transaction SQL (0.5ms) 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-05-26 18:50:16.735122"], ["current_sign_in_at", "2016-05-26 18:50:16.735122"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:16.736596"], ["id", 1]]  (12.9ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 13.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:16 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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.1ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.4ms)  (11.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.8ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.9ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.1ms) DELETE FROM "mtdevise_members";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.2ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.9ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "bK4VV3QG8iGkkvf-WK66"]] SQL (0.3ms) 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$0moVQ3O8KUKKe.Dj9/FD.uv6KaXovfZp4kH6SXRw6/maMm5cbVfF6"], ["authentication_token", "bK4VV3QG8iGkkvf-WK66"], ["created_at", "2016-05-26 18:50:16.903614"], ["updated_at", "2016-05-26 18:50:16.903614"], ["confirmation_token", "pYFT4BR4i34EPUbzdkVP"], ["confirmation_sent_at", "2016-05-26 18:50:16.903940"]] SQL (0.1ms) 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-05-26 18:50:16.905817"], ["updated_at", "2016-05-26 18:50:16.905817"]]  (10.6ms) commit transaction Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (4.1ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 5.9ms Sent mail to user@example.com (3.1ms) Date: Thu, 26 May 2016 18:50:16 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: user@example.com Message-ID: <57474568e2014_f864310e82792f@bradpotts-mtdevsie-3243298.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:

Confirm my account

 (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:16.930257"], ["updated_at", "2016-05-26 18:50:16.930257"]]  (12.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:50:16.944311"], ["updated_at", "2016-05-26 18:50:16.945128"], ["id", 1]]  (10.0ms) commit transaction Mtdevise::User Load (0.4ms) 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]]  (10.5ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.0ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.0ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.5ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.2ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "NcaYPT4vxDZ6U4KBDqeY"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$RPugf1tk9Lb37ASM3SgS4ex4evSmkL5pKwfQuC29TUnNmmPCmTCDu"], ["confirmed_at", "2016-05-26 18:50:17.086816"], ["authentication_token", "NcaYPT4vxDZ6U4KBDqeY"], ["created_at", "2016-05-26 18:50:17.091068"], ["updated_at", "2016-05-26 18:50:17.091068"]]  (11.5ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 SQL (0.4ms) 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-05-26 18:50:17.110651"], ["updated_at", "2016-05-26 18:50:17.110651"]]  (10.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:17.126824"], ["updated_at", "2016-05-26 18:50:17.126824"]]  (11.6ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50: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 (1.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test5@example.com"]]  (0.1ms) begin transaction SQL (0.3ms) 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-05-26 18:50:17.164130"], ["current_sign_in_at", "2016-05-26 18:50:17.164130"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:17.165082"], ["id", 1]]  (11.0ms) 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-05-26 18:50:17 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.4ms)  (12.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (15.2ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.3ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50: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-05-26 18:50: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 (1.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (13.6ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (9.2ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (11.8ms) DELETE FROM "things";  (1.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (20.2ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (21.4ms) DELETE FROM "mtdevise_users";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (15.0ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "aoBMxn2KT-z5B5hVwgKx"]] SQL (0.6ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$MmXOVeyHE8KbqVY8HnoOMeO1pDOMsi/Y1GEJx.lswK9kbzRVRwSWy"], ["confirmed_at", "2016-05-26 18:50:17.464374"], ["authentication_token", "aoBMxn2KT-z5B5hVwgKx"], ["created_at", "2016-05-26 18:50:17.470014"], ["updated_at", "2016-05-26 18:50:17.470014"]]  (16.3ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 SQL (0.5ms) 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-05-26 18:50:17.496401"], ["updated_at", "2016-05-26 18:50:17.496401"]]  (23.4ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:17.526595"], ["updated_at", "2016-05-26 18:50:17.526595"]]  (16.2ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50: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.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test7@example.com"]]  (0.3ms) begin transaction SQL (0.5ms) 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-05-26 18:50:17.578965"], ["current_sign_in_at", "2016-05-26 18:50:17.578965"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:17.580159"], ["id", 1]]  (13.6ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 14.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.2ms) Completed 200 OK in 12ms (Views: 6.1ms | ActiveRecord: 0.5ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.3ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Mtdevise::Account Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 SQL (0.5ms) 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-05-26 18:50:17.660156"], ["updated_at", "2016-05-26 18:50:17.660156"]]  (15.6ms) commit transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 Mtdevise::Account Exists (0.3ms) 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 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 1], ["created_at", "2016-05-26 18:50:17.687493"], ["updated_at", "2016-05-26 18:50:17.687493"]]  (11.7ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 SQL (0.5ms) UPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ? [["owner_id", 1], ["updated_at", "2016-05-26 18:50:17.708777"], ["id", 2]]  (12.8ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 76ms (ActiveRecord: 44.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.5ms)  (13.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (15.1ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (15.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.7ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Zzicr2cLTK5G-3Euo7dr"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$Wbu2K6HsMkLitJWo86YkiO4BL6M0du3oile.dp6FbrCv0HPpmuAW."], ["confirmed_at", "2016-05-26 18:50:17.843223"], ["authentication_token", "Zzicr2cLTK5G-3Euo7dr"], ["created_at", "2016-05-26 18:50:17.866504"], ["updated_at", "2016-05-26 18:50:17.866504"]]  (10.9ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 SQL (0.4ms) 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-05-26 18:50:17.885404"], ["updated_at", "2016-05-26 18:50:17.885404"]]  (12.4ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:17.904611"], ["updated_at", "2016-05-26 18:50:17.904611"]]  (13.5ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:17 +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.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test9@example.com"]]  (0.3ms) begin transaction SQL (0.3ms) 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-05-26 18:50:17.956873"], ["current_sign_in_at", "2016-05-26 18:50:17.956873"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:17.958126"], ["id", 1]]  (16.1ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 28ms (ActiveRecord: 16.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:17 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 7.5ms | ActiveRecord: 0.6ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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 (2.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>""}, "commit"=>"Create Account"} Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (1.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 8.7ms | ActiveRecord: 2.1ms)  (11.4ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'things';  (11.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.7ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.8ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.3ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "9RbkvuxSojJp7bXwv2hc"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$28AbNWETnUPDtNp2MlDWAusWK/W./JO2v6cl2P1JRWbJ0PAIDhi6q"], ["confirmed_at", "2016-05-26 18:50:18.145249"], ["authentication_token", "9RbkvuxSojJp7bXwv2hc"], ["created_at", "2016-05-26 18:50:18.150415"], ["updated_at", "2016-05-26 18:50:18.150415"]]  (11.3ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 SQL (0.4ms) 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-05-26 18:50:18.173510"], ["updated_at", "2016-05-26 18:50:18.173510"]]  (13.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:18.194944"], ["updated_at", "2016-05-26 18:50:18.194944"]]  (12.1ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:18 +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 (2.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:18 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test11@example.com"]]  (0.2ms) begin transaction SQL (0.4ms) 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-05-26 18:50:18.241960"], ["current_sign_in_at", "2016-05-26 18:50:18.241960"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:18.242974"], ["id", 1]]  (201.7ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 212ms (ActiveRecord: 202.5ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.5ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.3ms) 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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.9ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.3ms) 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.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 7.5ms | ActiveRecord: 1.7ms)  (13.5ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (16.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (16.1ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.7ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.8ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "oFzzSBSogPNb1isEZz7H"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$M4sm1DUzh0ChI0ePj3dLQuQeXg426CDey4oXYDHmk1V.E/hTbwVne"], ["confirmed_at", "2016-05-26 18:50:18.638582"], ["authentication_token", "oFzzSBSogPNb1isEZz7H"], ["created_at", "2016-05-26 18:50:18.643453"], ["updated_at", "2016-05-26 18:50:18.643453"]]  (11.8ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 SQL (0.3ms) 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-05-26 18:50:18.662688"], ["updated_at", "2016-05-26 18:50:18.662688"]]  (11.9ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:18.681137"], ["updated_at", "2016-05-26 18:50:18.681137"]]  (10.4ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:18 +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.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:50:18 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test13@example.com"]]  (0.1ms) begin transaction SQL (0.4ms) 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-05-26 18:50:18.723189"], ["current_sign_in_at", "2016-05-26 18:50:18.723189"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:18.724181"], ["id", 1]]  (10.7ms) 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-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.5ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.3ms) 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 (2.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:50:18 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test8"}, "commit"=>"Create Account"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 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 (3.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 8.9ms | ActiveRecord: 2.1ms)  (15.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (9.2ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.4ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "y5s3KtNgDzS1gJuuAz52"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$R9AXZ1b0RxS7tviXDvakwu5WycsW17soMZFKdNiyM4o/5hzw27yXu"], ["confirmed_at", "2016-05-26 18:50:18.954282"], ["authentication_token", "y5s3KtNgDzS1gJuuAz52"], ["created_at", "2016-05-26 18:50:18.957497"], ["updated_at", "2016-05-26 18:50:18.957497"]]  (14.4ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:18 +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 (1.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:50:18 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]]  (0.1ms) begin transaction SQL (0.4ms) 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-05-26 18:50:19.001927"], ["current_sign_in_at", "2016-05-26 18:50:19.001927"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:19.003021"], ["id", 1]]  (11.0ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 22ms (ActiveRecord: 11.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:19 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.2ms) Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:19 +0000 Processing by Mtdevise::WelcomeController#index as HTML Mtdevise::User Load (0.3ms) 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-05-26 18:50:19 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.1ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (12.3ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.6ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.8ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:19 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:50: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.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (15.2ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (13.7ms) DELETE FROM "mtdevise_accounts";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.7ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:50: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/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-05-26 18:50: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 (1.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (13.4ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (13.3ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.2ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.3ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:50: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 /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:50:19 +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.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (13.5ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (14.2ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.4ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.4ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.8ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.3ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.7ms) DELETE FROM "mtdevise_users";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (16.9ms) DELETE FROM "mtdevise_members";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (14.2ms) DELETE FROM "things";  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (12.5ms) DELETE FROM "mtdevise_accounts";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.2ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (14.4ms) DELETE FROM "things";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.7ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (15.5ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (14.1ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "HHosZQ5xrrzjgRogZyDW"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$fEBSrnEBQ0GOhfJgKAfqmOqoB0nMy3JyTOThbLALtFsr4nfoe32A."], ["confirmed_at", "2016-05-26 18:50:19.592681"], ["authentication_token", "HHosZQ5xrrzjgRogZyDW"], ["created_at", "2016-05-26 18:50:19.597847"], ["updated_at", "2016-05-26 18:50:19.597847"]]  (11.7ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 SQL (0.3ms) 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-05-26 18:50:19.620582"], ["updated_at", "2016-05-26 18:50:19.620582"]]  (14.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:19.642609"], ["updated_at", "2016-05-26 18:50:19.642609"]]  (12.1ms) commit transaction  (0.3ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1  (1.9ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "gDRoeGpKqpNRWFaVsSz5"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$i5j2R1SKlder7EAdHSFBfu8CYVNBN7AdMyqGcZRH82ulvADkfeIuS"], ["confirmed_at", "2016-05-26 18:50:19.661663"], ["authentication_token", "gDRoeGpKqpNRWFaVsSz5"], ["created_at", "2016-05-26 18:50:19.667562"], ["updated_at", "2016-05-26 18:50:19.667562"]]  (11.5ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 SQL (0.3ms) 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-05-26 18:50:19.687813"], ["updated_at", "2016-05-26 18:50:19.687813"]]  (11.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:50:19.703928"], ["updated_at", "2016-05-26 18:50:19.703928"]]  (10.3ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:50:19.728201"], ["updated_at", "2016-05-26 18:50:19.728201"]]  (13.0ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:50:19.746390"], ["updated_at", "2016-05-26 18:50:19.746390"]]  (13.8ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50: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 (2.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:50:19 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test15@example.com"]]  (0.2ms) begin transaction SQL (0.4ms) 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-05-26 18:50:19.789204"], ["current_sign_in_at", "2016-05-26 18:50:19.789204"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:19.790404"], ["id", 1]]  (12.8ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 13.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:19 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-05-26 18:50:19 +0000 Mtdevise::Account Load (0.2ms) 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 Thing Load (0.5ms) SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 1]] Rendered things/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.5ms)  (15.7ms) DELETE FROM "things";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.1ms) DELETE FROM sqlite_sequence where name = 'things';  (12.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.0ms) DELETE FROM "mtdevise_users";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.6ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "rMBmhd-F_2fZK3YgRRK9"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$Z5BAOA4hZH66HxntzuWZ/eYikHO5KzToSavHJorfwXH28TxdwYGB."], ["confirmed_at", "2016-05-26 18:50:19.956324"], ["authentication_token", "rMBmhd-F_2fZK3YgRRK9"], ["created_at", "2016-05-26 18:50:19.960342"], ["updated_at", "2016-05-26 18:50:19.960342"]]  (11.4ms) commit transaction  (0.3ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 SQL (0.5ms) 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-05-26 18:50:19.980762"], ["updated_at", "2016-05-26 18:50:19.980762"]]  (12.8ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:20.000677"], ["updated_at", "2016-05-26 18:50:20.000677"]]  (12.7ms) commit transaction  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "jiaVLjseYCbW11Mbsi57"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$BL0LC/cO9gJVBbzG84/7OOUi4Ms9udJrBwY5IGXsKTj1sTJXOqBWO"], ["confirmed_at", "2016-05-26 18:50:20.019454"], ["authentication_token", "jiaVLjseYCbW11Mbsi57"], ["created_at", "2016-05-26 18:50:20.022872"], ["updated_at", "2016-05-26 18:50:20.022872"]]  (12.8ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 SQL (0.3ms) 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-05-26 18:50:20.043648"], ["updated_at", "2016-05-26 18:50:20.043648"]]  (8.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:50:20.057041"], ["updated_at", "2016-05-26 18:50:20.057041"]]  (10.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:50:20.070669"], ["updated_at", "2016-05-26 18:50:20.070669"]]  (11.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:50:20.085245"], ["updated_at", "2016-05-26 18:50:20.085245"]]  (11.4ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:20 +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.2ms) 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-05-26 18:50:20 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test19@example.com"]]  (0.2ms) begin transaction SQL (0.4ms) 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-05-26 18:50:20.128148"], ["current_sign_in_at", "2016-05-26 18:50:20.128148"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:20.129362"], ["id", 2]]  (13.4ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 14.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] Mtdevise::Account Load (0.2ms) 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 (0.2ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test12"]] Processing by ThingsController#index as HTML Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 2]] Rendered things/index.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)  (10.9ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.8ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.1ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.4ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.7ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "97uF9iSdYTYz7ymCowxR"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$3/fLU7Oiw4HbeQ/S5WFbk./n02UyNYMR3LOtDJ5fDt0h1u79uU4ru"], ["confirmed_at", "2016-05-26 18:50:20.306146"], ["authentication_token", "97uF9iSdYTYz7ymCowxR"], ["created_at", "2016-05-26 18:50:20.311532"], ["updated_at", "2016-05-26 18:50:20.311532"]]  (11.7ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 SQL (0.6ms) 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-05-26 18:50:20.331215"], ["updated_at", "2016-05-26 18:50:20.331215"]]  (12.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:20.350586"], ["updated_at", "2016-05-26 18:50:20.350586"]]  (16.3ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] 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.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test13"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Mtdevise::Account Load (0.4ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test13"]] Mtdevise::User Load (0.4ms) 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"]]  (0.1ms) begin transaction SQL (0.4ms) 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-05-26 18:50:20.421208"], ["current_sign_in_at", "2016-05-26 18:50:20.421208"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:50:20.422585"], ["id", 1]]  (12.2ms) commit transaction Redirected to http://test13.example.com/ Completed 302 Found in 25ms (ActiveRecord: 13.7ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Mtdevise::User Load (0.2ms) 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.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 0.4ms)  (13.5ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.2ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.1ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "qL37c8ZefaYBzh7PNzhn"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$vFuf1grZLzquCnPr8Ltw7OQ5p.UZQcVl5tooecXDdrx3Uh1Sr1Q52"], ["confirmed_at", "2016-05-26 18:50:20.555157"], ["authentication_token", "qL37c8ZefaYBzh7PNzhn"], ["created_at", "2016-05-26 18:50:20.559331"], ["updated_at", "2016-05-26 18:50:20.559331"]]  (11.1ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 SQL (0.4ms) 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-05-26 18:50:20.578924"], ["updated_at", "2016-05-26 18:50:20.578924"]]  (8.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:20.592535"], ["updated_at", "2016-05-26 18:50:20.592535"]]  (10.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.3ms) 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.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.3ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) 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"} Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test14"]] Mtdevise::User Load (0.2ms) 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 7ms (ActiveRecord: 0.7ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] 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 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (13.5ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.3ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.7ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.8ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "6tszi7kTxSKvtyqyApBb"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$5t9s/1Ugg8ejoWQVNgn2AefUfkwnSEDaKqQjoro4h0yuPCcYtNTsu"], ["confirmed_at", "2016-05-26 18:50:20.753031"], ["authentication_token", "6tszi7kTxSKvtyqyApBb"], ["created_at", "2016-05-26 18:50:20.757546"], ["updated_at", "2016-05-26 18:50:20.757546"]]  (12.7ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 SQL (0.4ms) 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-05-26 18:50:20.778591"], ["updated_at", "2016-05-26 18:50:20.778591"]]  (11.0ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:20.796412"], ["updated_at", "2016-05-26 18:50:20.796412"]]  (13.1ms) commit transaction  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ghfB1mE_X6csR2dAJvoR"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$PvQmtcDunSF0TGwiojbJd.upCSdxNkizCIhnrCeKKtO849JdFuOUe"], ["confirmed_at", "2016-05-26 18:50:20.815642"], ["authentication_token", "ghfB1mE_X6csR2dAJvoR"], ["created_at", "2016-05-26 18:50:20.820256"], ["updated_at", "2016-05-26 18:50:20.820256"]]  (11.2ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 SQL (0.3ms) 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", 2], ["created_at", "2016-05-26 18:50:20.838616"], ["updated_at", "2016-05-26 18:50:20.838616"]]  (12.0ms) commit transaction  (0.3ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:50:20.856171"], ["updated_at", "2016-05-26 18:50:20.856171"]]  (11.2ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.6ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] 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 (1.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:20 +0000 Mtdevise::Account Load (0.2ms) 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"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test15"]] Mtdevise::User Load (0.2ms) 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", "test24@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test15"]] 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 (1.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (10.9ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (14.8ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.4ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test25@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "sTsAB3CaThCwEw4VPMAH"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test25@example.com"], ["encrypted_password", "$2a$04$dbqhtu0vzHlFzW3Q9NVNlu2Cxnssca6czwxAJ2GgdtNmehu4vuGuy"], ["confirmed_at", "2016-05-26 18:50:21.011409"], ["authentication_token", "sTsAB3CaThCwEw4VPMAH"], ["created_at", "2016-05-26 18:50:21.015302"], ["updated_at", "2016-05-26 18:50:21.015302"]]  (8.0ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 SQL (0.3ms) 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-05-26 18:50:21.029459"], ["updated_at", "2016-05-26 18:50:21.029459"]]  (10.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:50:21.044755"], ["updated_at", "2016-05-26 18:50:21.044755"]]  (12.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:50:21 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:21 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] 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 (1.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:50:21 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test17"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test17"]] Mtdevise::User Load (0.2ms) 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 3ms (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"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test17"]] 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 /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (11.3ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.3ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.1ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (14.6ms) DELETE FROM "things";  (2.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (12.6ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.1ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (3.8ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "WRF4z_xYFyzHUyLA2K8p"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$tola5lTluS1O4S8bXWLWOOh3SzFco37jFb2n.7Nf/rqHRLnIFP//u"], ["confirmed_at", "2016-05-26 18:51:28.111328"], ["authentication_token", "WRF4z_xYFyzHUyLA2K8p"], ["created_at", "2016-05-26 18:51:28.225594"], ["updated_at", "2016-05-26 18:51:28.225594"]]  (14.3ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 SQL (0.6ms) 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-05-26 18:51:28.275729"], ["updated_at", "2016-05-26 18:51:28.275729"]]  (14.4ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:28.404503"], ["updated_at", "2016-05-26 18:51:28.404503"]]  (15.1ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:28 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (2.9ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (159.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (1.2ms) Completed 200 OK in 9120ms (Views: 9080.8ms | ActiveRecord: 0.0ms)  (17.8ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.7ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.2ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.7ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "xqhRstnHM8NjGL75Bnhb"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$90AK9X1N8yJKSdDb94fRHu48BZUU2t/7srDAKddE4/7PLRoqCA56G"], ["confirmed_at", "2016-05-26 18:51:37.681031"], ["authentication_token", "xqhRstnHM8NjGL75Bnhb"], ["created_at", "2016-05-26 18:51:37.685100"], ["updated_at", "2016-05-26 18:51:37.685100"]]  (11.0ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 SQL (0.4ms) 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-05-26 18:51:37.704424"], ["updated_at", "2016-05-26 18:51:37.704424"]]  (10.9ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:37.720708"], ["updated_at", "2016-05-26 18:51:37.720708"]]  (11.2ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:37 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (11.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.7ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.8ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (7.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.0ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "hFyyH_rPDZTsUtszzH1y"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$3oHIFGfetO4MqphEMK7Z7.SBCexKZrvLnW8ESz9M3lxWPIkLBiUmG"], ["confirmed_at", "2016-05-26 18:51:37.833776"], ["authentication_token", "hFyyH_rPDZTsUtszzH1y"], ["created_at", "2016-05-26 18:51:37.837233"], ["updated_at", "2016-05-26 18:51:37.837233"]]  (12.9ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 SQL (0.5ms) 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-05-26 18:51:37.856453"], ["updated_at", "2016-05-26 18:51:37.856453"]]  (10.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:37.872129"], ["updated_at", "2016-05-26 18:51:37.872129"]]  (10.4ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:37 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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: 6.3ms | ActiveRecord: 0.0ms)  (11.0ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.6ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.3ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Bzy7aaSiJxC52-m3qD2C"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$8D5lXj0f1DwfJE/6FLorfeBTQTaBH91l/5dXd4hqx3yrK53XcMvsq"], ["confirmed_at", "2016-05-26 18:51:37.988381"], ["authentication_token", "Bzy7aaSiJxC52-m3qD2C"], ["created_at", "2016-05-26 18:51:37.991625"], ["updated_at", "2016-05-26 18:51:37.991625"]]  (8.6ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 SQL (0.4ms) 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-05-26 18:51:38.006927"], ["updated_at", "2016-05-26 18:51:38.006927"]]  (12.1ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:38.024663"], ["updated_at", "2016-05-26 18:51:38.024663"]]  (10.9ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:38 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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.5ms | ActiveRecord: 0.0ms)  (12.9ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (7.9ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (16.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.3ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.4ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.7ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.0ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.0ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.9ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.6ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.8ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (7.7ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test9@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "exX6dzU8bccuyjqtsEqx"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test9@example.com"], ["encrypted_password", "$2a$04$zZzHRRgq1OBMMGnN/U0D8unLkC8M1hgNqJxy7HHmZxeRN/.cORUfW"], ["confirmed_at", "2016-05-26 18:51:38.290597"], ["authentication_token", "exX6dzU8bccuyjqtsEqx"], ["created_at", "2016-05-26 18:51:38.294369"], ["updated_at", "2016-05-26 18:51:38.294369"]]  (16.5ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.6ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:38.319531"], ["updated_at", "2016-05-26 18:51:38.319531"]]  (11.2ms) commit transaction  (0.6ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:38.336367"], ["updated_at", "2016-05-26 18:51:38.336367"]]  (11.4ms) commit transaction  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Zf8HssHgjixaVq-gsDSx"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$YmWV5L5gNbgq/iSWUoroku8B2PJCSSh/P6H41KbuZgemrlR37Xkgm"], ["confirmed_at", "2016-05-26 18:51:38.353173"], ["authentication_token", "Zf8HssHgjixaVq-gsDSx"], ["created_at", "2016-05-26 18:51:38.357568"], ["updated_at", "2016-05-26 18:51:38.357568"]]  (12.7ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:38.379868"], ["updated_at", "2016-05-26 18:51:38.379868"]]  (11.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:51:38.396822"], ["updated_at", "2016-05-26 18:51:38.396822"]]  (13.8ms) commit transaction  (0.1ms) begin transaction SQL (1.2ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:51:38.425759"], ["updated_at", "2016-05-26 18:51:38.425759"]]  (15.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:51:38.446004"], ["updated_at", "2016-05-26 18:51:38.446004"]]  (10.4ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:38 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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 10ms (Views: 8.7ms | ActiveRecord: 0.0ms)  (12.8ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.9ms) DELETE FROM sqlite_sequence where name = 'things';  (11.5ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.4ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.4ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "surnviyUNrM_jMFxbMps"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$EOq7pPBFUbHcvqZaqePeWOSkRNE6MQmrkmUyWjOQmg3jWgbzqVPEq"], ["confirmed_at", "2016-05-26 18:51:38.589843"], ["authentication_token", "surnviyUNrM_jMFxbMps"], ["created_at", "2016-05-26 18:51:38.593458"], ["updated_at", "2016-05-26 18:51:38.593458"]]  (13.3ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 SQL (0.5ms) 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-05-26 18:51:38.616690"], ["updated_at", "2016-05-26 18:51:38.616690"]]  (14.1ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:38.638002"], ["updated_at", "2016-05-26 18:51:38.638002"]]  (11.4ms) commit transaction  (0.1ms) begin transaction Mtdevise::User Exists (0.9ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "B_HYLSfnzxTgvw5jTbye"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$IC6KsrUmmrLfWOMER1pft.vCHH7Ba7108TKgTB/yCnr6FBXP0lIS6"], ["confirmed_at", "2016-05-26 18:51:38.655775"], ["authentication_token", "B_HYLSfnzxTgvw5jTbye"], ["created_at", "2016-05-26 18:51:38.660451"], ["updated_at", "2016-05-26 18:51:38.660451"]]  (13.4ms) commit transaction  (0.3ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:38.684639"], ["updated_at", "2016-05-26 18:51:38.684639"]]  (13.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:51:38.703600"], ["updated_at", "2016-05-26 18:51:38.703600"]]  (12.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:51:38.719333"], ["updated_at", "2016-05-26 18:51:38.719333"]]  (8.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:51:38.731200"], ["updated_at", "2016-05-26 18:51:38.731200"]]  (13.0ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:38 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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 8ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (12.5ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'things';  (11.8ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (11.8ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (13.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.2ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.1ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "F_KwCJn2miLHWaYPypZ1"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$4pKoUME23wZHC8bpyFlPFeonkjVuqKiPTIOPMSzlQ.4jLz/9Uj6lC"], ["confirmed_at", "2016-05-26 18:51:38.918541"], ["authentication_token", "F_KwCJn2miLHWaYPypZ1"], ["created_at", "2016-05-26 18:51:38.922161"], ["updated_at", "2016-05-26 18:51:38.922161"]]  (12.6ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:38.940848"], ["updated_at", "2016-05-26 18:51:38.940848"]]  (11.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:38.956232"], ["updated_at", "2016-05-26 18:51:38.956232"]]  (12.7ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:38 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (11.8ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.5ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:51:39 +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-05-26 18:51:39 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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 10ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (11.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (12.2ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.4ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.7ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (9.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (13.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.4ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (9.9ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:39 +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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:39 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (12.9ms) DELETE FROM "things";  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.9ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:51: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 /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:51:39 +0000 Processing by Mtdevise::AccountsController#new as HTML 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.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (14.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 29.1ms | ActiveRecord: 0.0ms)  (13.8ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (14.0ms) DELETE FROM "mtdevise_accounts";  (4.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.3ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:39 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.3ms) 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 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:51: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 /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.9ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (11.8ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.8ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "yHKj3_zwFYpuex5rxN5d"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$OO26Uq3DCIVLb9zFOFJ/mu58/67fA04OB8KnmPLmY5uBRjGUUl0IC"], ["confirmed_at", "2016-05-26 18:51:39.519148"], ["authentication_token", "yHKj3_zwFYpuex5rxN5d"], ["created_at", "2016-05-26 18:51:39.522867"], ["updated_at", "2016-05-26 18:51:39.522867"]]  (12.0ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:39 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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)  (11.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.8ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.7ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (7.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.0ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (13.3ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.9ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "w3jbadfDDVnLztiN4HxH"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test17@example.com"], ["encrypted_password", "$2a$04$gBa.t6qlfnsCRF3pOgESCu8soRPZAqDDb72mSJioRKDv7MGrFYRJ6"], ["confirmed_at", "2016-05-26 18:51:39.665555"], ["authentication_token", "w3jbadfDDVnLztiN4HxH"], ["created_at", "2016-05-26 18:51:39.668521"], ["updated_at", "2016-05-26 18:51:39.668521"]]  (10.2ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 SQL (0.5ms) 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-05-26 18:51:39.686203"], ["updated_at", "2016-05-26 18:51:39.686203"]]  (14.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:39.705965"], ["updated_at", "2016-05-26 18:51:39.705965"]]  (12.6ms) commit transaction  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Laxgq7CwXwPj7gi4DM6E"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$a5s9yKLtHTP42gbYETcPxuQrGBrsb53MGEf/Xrvyh0XOuM10aHc16"], ["confirmed_at", "2016-05-26 18:51:39.723290"], ["authentication_token", "Laxgq7CwXwPj7gi4DM6E"], ["created_at", "2016-05-26 18:51:39.726324"], ["updated_at", "2016-05-26 18:51:39.726324"]]  (11.2ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 SQL (0.3ms) 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", 2], ["created_at", "2016-05-26 18:51:39.744493"], ["updated_at", "2016-05-26 18:51:39.744493"]]  (11.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:51:39.761401"], ["updated_at", "2016-05-26 18:51:39.761401"]]  (11.3ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:39 +0000 Mtdevise::Account Load (0.4ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:51:39 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)  (11.6ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.0ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.6ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test19@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "JzJAHg9_ds8vz5bsMFDU"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test19@example.com"], ["encrypted_password", "$2a$04$VIxiZBjRZjBxFH1FAMqyJ.n2FGAmzgIyPojcFMSoeyGq5IQ6ZhZ/6"], ["confirmed_at", "2016-05-26 18:51:39.893462"], ["authentication_token", "JzJAHg9_ds8vz5bsMFDU"], ["created_at", "2016-05-26 18:51:39.897407"], ["updated_at", "2016-05-26 18:51:39.897407"]]  (10.2ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 SQL (0.6ms) 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-05-26 18:51:39.914343"], ["updated_at", "2016-05-26 18:51:39.914343"]]  (12.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:39.931678"], ["updated_at", "2016-05-26 18:51:39.931678"]]  (9.0ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:39 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:51:39 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test12"]] Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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.4ms | ActiveRecord: 0.2ms)  (13.0ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.2ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.1ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (9.5ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "jmjeNP-c-p5pfteP3LS_"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$eXfskqNI1CT6PyY5qrCUBeKVKLMBCRLP7nFZ6NR5Ct7TD09vOl0Bu"], ["confirmed_at", "2016-05-26 18:51:40.053624"], ["authentication_token", "jmjeNP-c-p5pfteP3LS_"], ["created_at", "2016-05-26 18:51:40.056852"], ["updated_at", "2016-05-26 18:51:40.056852"]]  (12.4ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:40.076868"], ["updated_at", "2016-05-26 18:51:40.076868"]]  (10.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:40.092191"], ["updated_at", "2016-05-26 18:51:40.092191"]]  (10.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:40 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:51:40 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test13"]] Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)  (11.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (10.3ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.5ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "1V-Bp7e7hKRm6zYV_wC9"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$RZBTgf7sr0oCMzY8H6D2beHjFx3aYzhh9vWSQfWz1WMkaoPIX4wQS"], ["confirmed_at", "2016-05-26 18:51:40.216024"], ["authentication_token", "1V-Bp7e7hKRm6zYV_wC9"], ["created_at", "2016-05-26 18:51:40.220042"], ["updated_at", "2016-05-26 18:51:40.220042"]]  (10.9ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:40.238464"], ["updated_at", "2016-05-26 18:51:40.238464"]]  (13.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:40.257026"], ["updated_at", "2016-05-26 18:51:40.257026"]]  (10.4ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:40 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.1ms) 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-05-26 18:51:40 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test14"]] Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.3ms)  (15.7ms) DELETE FROM "things";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (12.9ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.4ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.9ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (13.4ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.0ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:40 +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 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:51:40 +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.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.3ms) Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:51:40 +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"}  (0.3ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 10.6ms | ActiveRecord: 1.9ms)  (15.0ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.7ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.4ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:40 +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.4ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:51:40 +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 (3.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:51:40 +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"=>""}, "commit"=>"Create Account"}  (0.2ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 7.3ms | ActiveRecord: 2.1ms)  (11.7ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (12.4ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.9ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 SQL (0.7ms) 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-05-26 18:51:40.735325"], ["updated_at", "2016-05-26 18:51:40.735325"]]  (11.0ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:40 +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/shared/_flash.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-05-26 18:51:40 +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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.9ms) 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 "/accounts" for 127.0.0.1 at 2016-05-26 18:51:40 +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"}  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (5.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 9.4ms | ActiveRecord: 1.7ms)  (13.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (14.6ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.4ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.2ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:40 +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: 3.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:51:40 +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.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.8ms) 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 "/accounts" for 127.0.0.1 at 2016-05-26 18:51:40 +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"}  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "7DQyyRAzMNAyypgC8AcH"]] SQL (0.4ms) 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$pMKL1aOSKplgAgloFhvX0eEIKvg43N2dgykplsSWiDLIOTFFw/J1S"], ["authentication_token", "7DQyyRAzMNAyypgC8AcH"], ["created_at", "2016-05-26 18:51:40.928902"], ["updated_at", "2016-05-26 18:51:40.928902"], ["confirmation_token", "gKtirabL43cJdzW5Bux-"], ["confirmation_sent_at", "2016-05-26 18:51:40.929212"]] SQL (0.1ms) 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-05-26 18:51:40.931159"], ["updated_at", "2016-05-26 18:51:40.931159"]]  (12.4ms) commit transaction Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/mailer/confirmation_instructions.html.erb (13.9ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 448.5ms Sent mail to mtdevise@example.com (62.6ms) Date: Thu, 26 May 2016 18:51:41 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: mtdevise@example.com Message-ID: <574745bd707f1_fa3c4f0e015397@bradpotts-mtdevsie-3243298.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome mtdevise@example.com!

You can confirm your account email through the link below:

Confirm my account

 (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:41.492113"], ["updated_at", "2016-05-26 18:51:41.492113"]]  (13.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:51:41.508376"], ["updated_at", "2016-05-26 18:51:41.509178"], ["id", 1]]  (10.9ms) commit transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 Mtdevise::Account Exists (0.6ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) 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-05-26 18:51:41.531566"], ["current_sign_in_at", "2016-05-26 18:51:41.531566"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:51:41.532938"], ["id", 1]]  (12.1ms) commit transaction Redirected to http://test.example.com/ Completed 302 Found in 629ms (ActiveRecord: 53.6ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:41 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] Mtdevise::User Load (0.4ms) 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 (1.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_header.html.erb (1.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 0.6ms)  (15.8ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.7ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.2ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "-ASfKzr-jaCE6CM2BfpT"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$Alp/KDDy33.AEbbVnRK4Yuf58I5QTW5PzU/ccMGuvKSpuN36cxa3O"], ["confirmed_at", "2016-05-26 18:51:41.673178"], ["authentication_token", "-ASfKzr-jaCE6CM2BfpT"], ["created_at", "2016-05-26 18:51:41.676426"], ["updated_at", "2016-05-26 18:51:41.676426"]]  (10.6ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:41.694855"], ["updated_at", "2016-05-26 18:51:41.694855"]]  (11.6ms) commit transaction  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:41.710653"], ["updated_at", "2016-05-26 18:51:41.710653"]]  (12.4ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:51:41 +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.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:51:41 +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.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:51:41 +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"}  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.5ms) 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 23ms (Views: 7.3ms | ActiveRecord: 1.7ms)  (15.8ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.1ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (14.4ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "jd_muMpsyF4wp21-MC1r"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$ZZKhG0IFrTB4G5i/kny9zeh5y7Y7yk2pq9iB5nOogwMeRG0883wAi"], ["confirmed_at", "2016-05-26 18:51:41.889052"], ["authentication_token", "jd_muMpsyF4wp21-MC1r"], ["created_at", "2016-05-26 18:51:41.892713"], ["updated_at", "2016-05-26 18:51:41.892713"]]  (11.3ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:41 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (3.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (13.0ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.3ms) DELETE FROM "mtdevise_accounts";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.1ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.4ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "K_fyeMphrQVMpxEHds_y"]] SQL (0.3ms) 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$/isfbqy5EweRxnaKsH36rO98WSr4gRokttpo3yA05i.OgBuSn/6zy"], ["authentication_token", "K_fyeMphrQVMpxEHds_y"], ["created_at", "2016-05-26 18:51:42.045985"], ["updated_at", "2016-05-26 18:51:42.045985"], ["confirmation_token", "A8DHm-dBsd9MqPPHgzZJ"], ["confirmation_sent_at", "2016-05-26 18:51:42.046290"]] SQL (0.1ms) 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-05-26 18:51:42.047901"], ["updated_at", "2016-05-26 18:51:42.047901"]]  (11.3ms) commit transaction Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/mailer/confirmation_instructions.html.erb (5.8ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 8.8ms Sent mail to user@example.com (2.9ms) Date: Thu, 26 May 2016 18:51:42 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: user@example.com Message-ID: <574745be1183a_fa3c4f0e0154eb@bradpotts-mtdevsie-3243298.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 email through the link below:

Confirm my account

 (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:42.075694"], ["updated_at", "2016-05-26 18:51:42.075694"]]  (11.5ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:51:42.089418"], ["updated_at", "2016-05-26 18:51:42.091150"], ["id", 1]]  (11.0ms) commit transaction Mtdevise::User Load (0.6ms) 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]]  (11.1ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.9ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.5ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.6ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.9ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "x9EHTKGUZmeszKK1UiCs"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$vh1LbQM6mzAE6FA/.psXUOtMBRaZcuEaOViBsoFXMe3XoP3.GlWI2"], ["confirmed_at", "2016-05-26 18:51:42.244567"], ["authentication_token", "x9EHTKGUZmeszKK1UiCs"], ["created_at", "2016-05-26 18:51:42.248131"], ["updated_at", "2016-05-26 18:51:42.248131"]]  (11.1ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:42.266192"], ["updated_at", "2016-05-26 18:51:42.266192"]]  (12.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:42.283333"], ["updated_at", "2016-05-26 18:51:42.283333"]]  (10.6ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:42 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (4.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.3ms) Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.0ms)  (14.1ms) DELETE FROM "things";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (14.8ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "y2aSiZzxJ6uimm__bbae"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$XWswVEh6JFK6/h8BMKMHR.qCSeGhyJeYyNnU20THWC7khpi02OpZC"], ["confirmed_at", "2016-05-26 18:51:42.422236"], ["authentication_token", "y2aSiZzxJ6uimm__bbae"], ["created_at", "2016-05-26 18:51:42.426978"], ["updated_at", "2016-05-26 18:51:42.426978"]]  (11.4ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 SQL (0.3ms) 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-05-26 18:51:42.446027"], ["updated_at", "2016-05-26 18:51:42.446027"]]  (10.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:51:42.460738"], ["updated_at", "2016-05-26 18:51:42.460738"]]  (10.9ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:51:42 +0000 Processing by Devise::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.1.1/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: 6.7ms | ActiveRecord: 0.0ms)  (12.5ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.5ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.7ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (13.5ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (20.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.8ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.6ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "RiEUR4eBVrBzfsRs74LT"]] SQL (0.6ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$/oCRDV6bcdJ3LRKKqboP8uM4k351b8nHXi4ITGiGHjfMUL1cBKB5u"], ["confirmed_at", "2016-05-26 18:52:33.651298"], ["authentication_token", "RiEUR4eBVrBzfsRs74LT"], ["created_at", "2016-05-26 18:52:33.792532"], ["updated_at", "2016-05-26 18:52:33.792532"]]  (14.5ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 SQL (1.3ms) 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-05-26 18:52:33.857015"], ["updated_at", "2016-05-26 18:52:33.857015"]]  (17.1ms) commit transaction  (0.4ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:52:33.987700"], ["updated_at", "2016-05-26 18:52:33.987700"]]  (14.0ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:52:34 +0000 Processing by Mtdevise::WelcomeController#index as HTML Rendered /home/ubuntu/workspace/app/views/mtdevise/welcome/index.html.erb within layouts/mtdevise/welcome (7.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (2.9ms) Completed 200 OK in 28102ms (Views: 28080.1ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:53:02 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.9ms) 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 (74.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 92ms (Views: 88.8ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:53:02 +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"}  (2.8ms) begin transaction Mtdevise::User Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (1.6ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.7ms) 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 41ms (Views: 11.8ms | ActiveRecord: 6.7ms)  (15.1ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (16.0ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.5ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:53: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.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:53:02 +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.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:53: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"=>"test"}, "commit"=>"Create Account"}  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "3eyYypkdxCGDFBnw3Nmx"]] SQL (0.5ms) 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$uoClsk.xLoalqjRG5QWGvuzrPbuXzKw2chBjGqibrhS36niJlib32"], ["authentication_token", "3eyYypkdxCGDFBnw3Nmx"], ["created_at", "2016-05-26 18:53:02.493894"], ["updated_at", "2016-05-26 18:53:02.493894"], ["confirmation_token", "19h7Vvsswz5hnuQuCq2Z"], ["confirmation_sent_at", "2016-05-26 18:53:02.494239"]] SQL (0.1ms) 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-05-26 18:53:02.496609"], ["updated_at", "2016-05-26 18:53:02.496609"]]  (14.8ms) commit transaction Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (5.3ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 528.6ms Sent mail to mtdevise@example.com (52.3ms) Date: Thu, 26 May 2016 18:53:03 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: mtdevise@example.com Message-ID: <5747460f1ac28_fe17b30e097941@bradpotts-mtdevsie-3243298.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome mtdevise@example.com!

You can confirm your account through the link below:

Confirm my account

 (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:03.133150"], ["updated_at", "2016-05-26 18:53:03.133150"]]  (14.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:53:03.150051"], ["updated_at", "2016-05-26 18:53:03.150887"], ["id", 1]]  (10.7ms) commit transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) 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-05-26 18:53:03.175286"], ["current_sign_in_at", "2016-05-26 18:53:03.175286"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:03.176374"], ["id", 1]]  (12.9ms) commit transaction Redirected to http://test.example.com/ Completed 302 Found in 714ms (ActiveRecord: 57.4ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:03 +0000 Mtdevise::Account Load (0.4ms) 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 Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] Mtdevise::User Load (0.4ms) 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/shared/_header.html.erb (1.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 19ms (Views: 15.7ms | ActiveRecord: 0.7ms)  (10.8ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (14.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.9ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 SQL (0.7ms) 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-05-26 18:53:03.326309"], ["updated_at", "2016-05-26 18:53:03.326309"]]  (13.0ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:53: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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:53:03 +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 (3.5ms) 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-05-26 18:53: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"}  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (6.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 9.3ms | ActiveRecord: 1.8ms)  (12.6ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'things';  (8.5ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.1ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:53: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.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:53:03 +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.9ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:53: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"=>""}, "commit"=>"Create Account"}  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (4.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 8.5ms | ActiveRecord: 1.7ms)  (11.7ms) DELETE FROM "things";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.7ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.2ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:53: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.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:53:03 +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.2ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (4.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:53: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"=>"admin"}, "commit"=>"Create Account"}  (0.3ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 (4.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 8.5ms | ActiveRecord: 1.8ms)  (11.7ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.2ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.8ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "zr8-G1Na5-fsDFxCyZZc"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$eSgds1vpnaenewPjcBMej.83w3BsuWuA8rHH1JYKJlKB7UQQq3l1W"], ["confirmed_at", "2016-05-26 18:53:03.757725"], ["authentication_token", "zr8-G1Na5-fsDFxCyZZc"], ["created_at", "2016-05-26 18:53:03.760877"], ["updated_at", "2016-05-26 18:53:03.760877"]]  (12.8ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:03 +0000 Processing by Devise::SessionsController#new as HTML 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 (31.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 41.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:03 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.7ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]]  (0.1ms) begin transaction SQL (0.5ms) 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-05-26 18:53:03.860053"], ["current_sign_in_at", "2016-05-26 18:53:03.860053"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:03.861288"], ["id", 1]]  (28.4ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 69ms (ActiveRecord: 29.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:03 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.5ms) 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 (9.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 17.6ms | ActiveRecord: 0.7ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:53:03 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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 3ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:03 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.1ms) 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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.3ms)  (12.4ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.3ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (9.8ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.0ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.2ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (7.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (9.7ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test2@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "BmU4BKiAfndYVM-jBhAs"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test2@example.com"], ["encrypted_password", "$2a$04$KcNm4heNydFvsYMNgLwBCevzfYrbSkpjJjXiKr1T1j/c3q/zWEX9O"], ["confirmed_at", "2016-05-26 18:53:04.092508"], ["authentication_token", "BmU4BKiAfndYVM-jBhAs"], ["created_at", "2016-05-26 18:53:04.095716"], ["updated_at", "2016-05-26 18:53:04.095716"]]  (8.2ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:04.109506"], ["updated_at", "2016-05-26 18:53:04.109506"]]  (10.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:04.124169"], ["updated_at", "2016-05-26 18:53:04.124169"]]  (9.9ms) commit transaction  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "YgZ-nf7Zs-EP2zpkAyeX"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$BLmS5JU2tP3yOCKIXUeVOejQ.lgP/xbcJuZ0MvYjKaC915BlSLol6"], ["confirmed_at", "2016-05-26 18:53:04.138657"], ["authentication_token", "YgZ-nf7Zs-EP2zpkAyeX"], ["created_at", "2016-05-26 18:53:04.141656"], ["updated_at", "2016-05-26 18:53:04.141656"]]  (10.2ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 SQL (0.2ms) 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-05-26 18:53:04.157460"], ["updated_at", "2016-05-26 18:53:04.157460"]]  (10.2ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:53:04.172010"], ["updated_at", "2016-05-26 18:53:04.172010"]]  (10.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test2"]] Processing by Mtdevise::Account::DashboardController#index as HTML Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test2"]] Processing by Devise::SessionsController#new as HTML Mtdevise::Account Load (0.1ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] 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 (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test2"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test2"]] Mtdevise::User Load (0.4ms) 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"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.9ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test2"]] 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.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (12.8ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.2ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.0ms) DELETE FROM "mtdevise_members";  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "r6QHmkRqrZqfCWPp2tnx"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$u5yhNC3l8EzMhXDmbAiPEePvRkPVGcOiQRgUT6TnWdLv2s40.p8Ve"], ["confirmed_at", "2016-05-26 18:53:04.329539"], ["authentication_token", "r6QHmkRqrZqfCWPp2tnx"], ["created_at", "2016-05-26 18:53:04.334085"], ["updated_at", "2016-05-26 18:53:04.334085"]]  (12.7ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:04.355046"], ["updated_at", "2016-05-26 18:53:04.355046"]]  (12.3ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:04.372476"], ["updated_at", "2016-05-26 18:53:04.372476"]]  (10.8ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) 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"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test4"]] Mtdevise::User Load (0.1ms) 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"]]  (0.2ms) begin transaction SQL (0.5ms) 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-05-26 18:53:04.429165"], ["current_sign_in_at", "2016-05-26 18:53:04.429165"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:04.430247"], ["id", 1]]  (12.3ms) commit transaction Redirected to http://test4.example.com/ Completed 302 Found in 25ms (ActiveRecord: 13.6ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.4ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test4"]] Mtdevise::User Load (0.3ms) 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.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.5ms)  (17.4ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.5ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.7ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test5@example.com' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "kyBPda8ThZeGKnGioTgW"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test5@example.com"], ["encrypted_password", "$2a$04$9kV2rnU.hz8f7MFlyIXQzu3Gw2aa1uawjvwgnazmV/db9c7w5NIwi"], ["confirmed_at", "2016-05-26 18:53:04.568357"], ["authentication_token", "kyBPda8ThZeGKnGioTgW"], ["created_at", "2016-05-26 18:53:04.572835"], ["updated_at", "2016-05-26 18:53:04.572835"]]  (13.2ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:04.593241"], ["updated_at", "2016-05-26 18:53:04.593241"]]  (11.3ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:04.610592"], ["updated_at", "2016-05-26 18:53:04.610592"]]  (9.0ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["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.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) 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"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test5"]] Mtdevise::Account Load (0.1ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test5"]] Mtdevise::User Load (0.1ms) 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"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["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.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (10.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.3ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (7.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.3ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "s4TK_M3_NxK-6LijsyBU"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$4xbHApkV38mx12wMPF0VCOZZaWTuB7XQCyWf8UCHCDwvoMfch0RDG"], ["confirmed_at", "2016-05-26 18:53:04.755940"], ["authentication_token", "s4TK_M3_NxK-6LijsyBU"], ["created_at", "2016-05-26 18:53:04.759589"], ["updated_at", "2016-05-26 18:53:04.759589"]]  (10.7ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:04.776982"], ["updated_at", "2016-05-26 18:53:04.776982"]]  (10.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:04.792813"], ["updated_at", "2016-05-26 18:53:04.792813"]]  (10.4ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.1ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:04 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test6"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test6"]] Mtdevise::User Load (0.1ms) 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 6ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test6"]] 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.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (11.4ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'things';  (10.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (9.9ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.4ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.6ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test7@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "oJ-FbA-ymRmDXkszkpRM"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test7@example.com"], ["encrypted_password", "$2a$04$HTjvcqd55t1nQiAbLaKgD.pqGJuocV0ewI67Jm5CP0YJL8A6.n5Km"], ["confirmed_at", "2016-05-26 18:53:04.982905"], ["authentication_token", "oJ-FbA-ymRmDXkszkpRM"], ["created_at", "2016-05-26 18:53:04.989298"], ["updated_at", "2016-05-26 18:53:04.989298"]]  (13.3ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:05.009027"], ["updated_at", "2016-05-26 18:53:05.009027"]]  (10.5ms) commit transaction  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:05.025132"], ["updated_at", "2016-05-26 18:53:05.025132"]]  (10.7ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:05 +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.1ms) 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-05-26 18:53:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test7@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test7@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 (2.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.0ms)  (12.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.2ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.5ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.2ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "B2MK1-yY44d39kjmVHyR"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$oHeQn7rBIcABUgHoOMJ2Fu5gD03TnVdTBLrZG0gJUjpcBeuUUgtbi"], ["confirmed_at", "2016-05-26 18:53:05.165207"], ["authentication_token", "B2MK1-yY44d39kjmVHyR"], ["created_at", "2016-05-26 18:53:05.169186"], ["updated_at", "2016-05-26 18:53:05.169186"]]  (14.1ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 SQL (0.4ms) 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-05-26 18:53:05.193466"], ["updated_at", "2016-05-26 18:53:05.193466"]]  (12.2ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:05.213138"], ["updated_at", "2016-05-26 18:53:05.213138"]]  (12.0ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53: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.8ms) 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 "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.5ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test8@example.com"]]  (0.5ms) begin transaction SQL (0.3ms) 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-05-26 18:53:05.259615"], ["current_sign_in_at", "2016-05-26 18:53:05.259615"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:05.261196"], ["id", 1]]  (12.6ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 13.9ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:05 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.1ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.4ms)  (14.1ms) DELETE FROM "things";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.3ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.2ms) DELETE FROM "mtdevise_members";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (15.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (13.1ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.6ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.3ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "TgiQqgsUY7tX_T27BAgh"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$666E7VgaU16oVCTUAzF5MOew4CJUYIG0ZBYRRTOP2rhfpPqs8pghi"], ["confirmed_at", "2016-05-26 18:53:05.448055"], ["authentication_token", "TgiQqgsUY7tX_T27BAgh"], ["created_at", "2016-05-26 18:53:05.452214"], ["updated_at", "2016-05-26 18:53:05.452214"]]  (12.9ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 SQL (0.5ms) 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-05-26 18:53:05.474683"], ["updated_at", "2016-05-26 18:53:05.474683"]]  (12.7ms) commit transaction  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:05.495105"], ["updated_at", "2016-05-26 18:53:05.495105"]]  (13.7ms) commit transaction  (0.2ms) begin transaction Mtdevise::User Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test11@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "tkRbziATM6zYHsum7TPM"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test11@example.com"], ["encrypted_password", "$2a$04$bwlg3K/HjZbby6V0RlYEB.vAYqu2LkSOlmIJCbcCiKX8.nNrkS5VC"], ["confirmed_at", "2016-05-26 18:53:05.514584"], ["authentication_token", "tkRbziATM6zYHsum7TPM"], ["created_at", "2016-05-26 18:53:05.519022"], ["updated_at", "2016-05-26 18:53:05.519022"]]  (10.9ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:05.537614"], ["updated_at", "2016-05-26 18:53:05.537614"]]  (10.3ms) commit transaction  (0.3ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:53:05.552642"], ["updated_at", "2016-05-26 18:53:05.552642"]]  (10.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:53:05.575594"], ["updated_at", "2016-05-26 18:53:05.575594"]]  (11.0ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:53:05.590930"], ["updated_at", "2016-05-26 18:53:05.590930"]]  (9.2ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:05 +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 (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:05 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test11@example.com"]]  (0.2ms) begin transaction SQL (0.4ms) 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-05-26 18:53:05.638888"], ["current_sign_in_at", "2016-05-26 18:53:05.638888"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:05.640157"], ["id", 2]]  (11.2ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 12.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:05 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] Mtdevise::Account Load (0.3ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 0.6ms) Started GET "/things" for 127.0.0.1 at 2016-05-26 18:53:05 +0000 Mtdevise::Account Load (0.2ms) 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 Thing Load (0.3ms) 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: 13.6ms | ActiveRecord: 0.3ms)  (17.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.5ms) DELETE FROM sqlite_sequence where name = 'things';  (11.5ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (21.8ms) DELETE FROM "mtdevise_members";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (16.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "cJPKNHJYmEs4JrxZrDws"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$OFg7mm9zQeEfyWkeiRdRTObYp6fUQF33YuamTISkexXsyBEwnkI0C"], ["confirmed_at", "2016-05-26 18:53:05.824123"], ["authentication_token", "cJPKNHJYmEs4JrxZrDws"], ["created_at", "2016-05-26 18:53:05.828437"], ["updated_at", "2016-05-26 18:53:05.828437"]]  (13.5ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 SQL (0.4ms) 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-05-26 18:53:05.852061"], ["updated_at", "2016-05-26 18:53:05.852061"]]  (14.5ms) commit transaction  (0.3ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:05.872738"], ["updated_at", "2016-05-26 18:53:05.872738"]]  (14.6ms) commit transaction  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "rZD4kXFzacxs29eCCAxw"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test14@example.com"], ["encrypted_password", "$2a$04$bFFPlWvzJnh8tvCv9gd0i.5WUf4ONWOFP24oTXC6NaMipefQiJ9SO"], ["confirmed_at", "2016-05-26 18:53:05.892691"], ["authentication_token", "rZD4kXFzacxs29eCCAxw"], ["created_at", "2016-05-26 18:53:05.896494"], ["updated_at", "2016-05-26 18:53:05.896494"]]  (13.1ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:05.916807"], ["updated_at", "2016-05-26 18:53:05.916807"]]  (13.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:53:05.935815"], ["updated_at", "2016-05-26 18:53:05.935815"]]  (10.2ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:53:05.949284"], ["updated_at", "2016-05-26 18:53:05.949284"]]  (10.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:53:05.962891"], ["updated_at", "2016-05-26 18:53:05.962891"]]  (11.2ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:05 +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.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:53:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test13@example.com"]]  (0.2ms) begin transaction SQL (0.4ms) 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-05-26 18:53:06.008235"], ["current_sign_in_at", "2016-05-26 18:53:06.008235"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:06.009742"], ["id", 1]]  (12.6ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 13.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Mtdevise::Account Load (0.3ms) 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 Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 1]] Rendered things/index.html.erb within layouts/application (1.0ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)  (14.0ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (20.4ms) DELETE FROM sqlite_sequence where name = 'things';  (10.6ms) DELETE FROM "mtdevise_accounts";  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.9ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.3ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (13.4ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.5ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:06 +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-05-26 18:53:06 +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 (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (12.7ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.8ms) DELETE FROM "mtdevise_accounts";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (17.0ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.2ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "rw9u6KAjyekYseeuMPxP"]] SQL (0.8ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$35Mbki/I6TtDCivJSRqz.OOLfwnQUgEg6ZwuUYOA2fJrtc6F1Ln9S"], ["confirmed_at", "2016-05-26 18:53:06.307604"], ["authentication_token", "rw9u6KAjyekYseeuMPxP"], ["created_at", "2016-05-26 18:53:06.312855"], ["updated_at", "2016-05-26 18:53:06.312855"]]  (14.1ms) commit transaction  (0.5ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 SQL (0.4ms) 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-05-26 18:53:06.338846"], ["updated_at", "2016-05-26 18:53:06.338846"]]  (10.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:06.356447"], ["updated_at", "2016-05-26 18:53:06.356447"]]  (13.9ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:06 +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.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test16@example.com"]]  (0.2ms) begin transaction SQL (0.4ms) 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-05-26 18:53:06.414423"], ["current_sign_in_at", "2016-05-26 18:53:06.414423"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:06.416328"], ["id", 1]]  (11.2ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 12.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.3ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.6ms)  (13.1ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.6ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.3ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.6ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (13.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "_xkS6NnwJWH5eAyN3GjL"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$Z60uFnyQtcCRcqy/IL/EtOUFpdjdi7eKD5wP2OR/7HmjSXaVGA6zO"], ["confirmed_at", "2016-05-26 18:53:06.602656"], ["authentication_token", "_xkS6NnwJWH5eAyN3GjL"], ["created_at", "2016-05-26 18:53:06.606114"], ["updated_at", "2016-05-26 18:53:06.606114"]]  (12.6ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53: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 (3.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]]  (0.4ms) begin transaction SQL (0.5ms) 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-05-26 18:53:06.657668"], ["current_sign_in_at", "2016-05-26 18:53:06.657668"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:06.659444"], ["id", 1]]  (13.1ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 27ms (ActiveRecord: 14.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.1ms) 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.1ms) Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Processing by Mtdevise::WelcomeController#index as HTML Mtdevise::User Load (0.2ms) 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-05-26 18:53:06 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.1ms) 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.1ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.3ms)  (12.8ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.9ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.3ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:53:06 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:53: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.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (11.7ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (16.7ms) DELETE FROM "mtdevise_accounts";  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.2ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:53: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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:06 +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.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)  (11.0ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.5ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:53: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.7ms) 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-05-26 18:53:06 +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 (3.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (13.9ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (12.7ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.2ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (9.8ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.7ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.6ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.3ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "C-arM_CF6vSDCVnxk4Hx"]] SQL (0.3ms) 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$vyvTfTH5GobTC59CSYVAHOp/tpiIpfAoGM5Cg4opW95UQobWlYMwK"], ["authentication_token", "C-arM_CF6vSDCVnxk4Hx"], ["created_at", "2016-05-26 18:53:07.088584"], ["updated_at", "2016-05-26 18:53:07.088584"], ["confirmation_token", "cj9odu15wNVzqo_q68j4"], ["confirmation_sent_at", "2016-05-26 18:53:07.089030"]] SQL (0.1ms) 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-05-26 18:53:07.091448"], ["updated_at", "2016-05-26 18:53:07.091448"]]  (10.9ms) commit transaction Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (4.8ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 7.1ms Sent mail to user@example.com (3.1ms) Date: Thu, 26 May 2016 18:53:07 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: user@example.com Message-ID: <574746131ba06_fe17b30e098083@bradpotts-mtdevsie-3243298.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:

Confirm my account

 (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:07.117881"], ["updated_at", "2016-05-26 18:53:07.117881"]]  (12.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:53:07.132679"], ["updated_at", "2016-05-26 18:53:07.133686"], ["id", 1]]  (12.0ms) commit transaction Mtdevise::User Load (0.6ms) 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]]  (10.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.8ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.3ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.7ms) DELETE FROM "mtdevise_members";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.9ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.6ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (13.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (13.4ms) DELETE FROM "mtdevise_accounts";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.9ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.0ms) DELETE FROM "mtdevise_members";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.8ms) DELETE FROM "things";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (12.9ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (17.4ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.3ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "gXJDF9Rxcgv1_fAvyTi4"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$5Hq5XGePIE0O/YPoWHRQs.zGYK0vf2iX9nAwOsCIdR01prxerBcGG"], ["confirmed_at", "2016-05-26 18:53:07.406924"], ["authentication_token", "gXJDF9Rxcgv1_fAvyTi4"], ["created_at", "2016-05-26 18:53:07.411843"], ["updated_at", "2016-05-26 18:53:07.411843"]]  (13.4ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:07.433362"], ["updated_at", "2016-05-26 18:53:07.433362"]]  (12.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:07.451222"], ["updated_at", "2016-05-26 18:53:07.451222"]]  (11.5ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:07 +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 (2.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:53:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test18@example.com"]]  (0.1ms) begin transaction SQL (0.4ms) 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-05-26 18:53:07.500851"], ["current_sign_in_at", "2016-05-26 18:53:07.500851"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:07.502155"], ["id", 1]]  (11.0ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 23ms (ActiveRecord: 11.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:07 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.5ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.1ms) Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.6ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:53:07 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.3ms) 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.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:53:07 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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/accounts/new.html.erb within layouts/mtdevise/accounts (3.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 6.8ms | ActiveRecord: 2.1ms)  (13.0ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.3ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.4ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.3ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "D7Wz4k9HHy3Gesfkei_h"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$4nc6423SngSU.VoTSn.J7uCF7GmroZhcAymA8OwnSLPiXcSV4dxXG"], ["confirmed_at", "2016-05-26 18:53:07.673684"], ["authentication_token", "D7Wz4k9HHy3Gesfkei_h"], ["created_at", "2016-05-26 18:53:07.677802"], ["updated_at", "2016-05-26 18:53:07.677802"]]  (12.7ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:07.698043"], ["updated_at", "2016-05-26 18:53:07.698043"]]  (12.5ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:07.717712"], ["updated_at", "2016-05-26 18:53:07.717712"]]  (12.5ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53: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 (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test20@example.com"]]  (0.3ms) begin transaction SQL (0.5ms) 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-05-26 18:53:07.764899"], ["current_sign_in_at", "2016-05-26 18:53:07.764899"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:07.766556"], ["id", 1]]  (10.9ms) 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-05-26 18:53:07 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.1ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:53:07 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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 (2.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:53:07 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test15"}, "commit"=>"Create Account"} Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 5.8ms | ActiveRecord: 1.6ms)  (11.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.9ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test22@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "4GMmNx8sU6rmjGs66ASe"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test22@example.com"], ["encrypted_password", "$2a$04$teFy3rXjxhdwFvmPQDxLYuvGKbmDziahnOtLVqM585IC0hvllnA5q"], ["confirmed_at", "2016-05-26 18:53:07.921788"], ["authentication_token", "4GMmNx8sU6rmjGs66ASe"], ["created_at", "2016-05-26 18:53:07.925139"], ["updated_at", "2016-05-26 18:53:07.925139"]]  (11.3ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 SQL (0.4ms) 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-05-26 18:53:07.944236"], ["updated_at", "2016-05-26 18:53:07.944236"]]  (11.8ms) commit transaction  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:07.960826"], ["updated_at", "2016-05-26 18:53:07.960826"]]  (10.5ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53:07 +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.2ms) 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-05-26 18:53:07 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test22@example.com"]]  (0.4ms) begin transaction SQL (0.4ms) 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-05-26 18:53:08.007536"], ["current_sign_in_at", "2016-05-26 18:53:08.007536"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:08.009052"], ["id", 1]]  (13.5ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 27ms (ActiveRecord: 14.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:08 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.1ms) Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.5ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:53:08 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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 (2.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:53:08 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>""}, "commit"=>"Create Account"} Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.8ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.3ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 6.2ms | ActiveRecord: 2.4ms)  (11.4ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.1ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "JfsHKksEjwdfzE2YVuJr"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$UF5nSQ0aONo3KWY6qsVlL.EELu3BoxzPrtEnthfKyFUnqvGCdwnoK"], ["confirmed_at", "2016-05-26 18:53:08.186162"], ["authentication_token", "JfsHKksEjwdfzE2YVuJr"], ["created_at", "2016-05-26 18:53:08.190449"], ["updated_at", "2016-05-26 18:53:08.190449"]]  (11.1ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 SQL (0.3ms) 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-05-26 18:53:08.209219"], ["updated_at", "2016-05-26 18:53:08.209219"]]  (11.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:53:08.225006"], ["updated_at", "2016-05-26 18:53:08.225006"]]  (10.9ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:53: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.2ms) 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-05-26 18:53:08 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test24@example.com"]]  (0.3ms) begin transaction SQL (0.3ms) 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-05-26 18:53:08.267167"], ["current_sign_in_at", "2016-05-26 18:53:08.267167"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:53:08.268889"], ["id", 1]]  (12.5ms) 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-05-26 18:53:08 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.6ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:53:08 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (1.2ms) 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.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 1.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:53: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"} Mtdevise::User Load (0.6ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 SQL (0.4ms) 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-05-26 18:53:08.339992"], ["updated_at", "2016-05-26 18:53:08.339992"]]  (11.2ms) commit transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 1], ["created_at", "2016-05-26 18:53:08.359583"], ["updated_at", "2016-05-26 18:53:08.359583"]]  (11.1ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 Mtdevise::Account Exists (0.3ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 SQL (0.4ms) UPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ? [["owner_id", 1], ["updated_at", "2016-05-26 18:53:08.377179"], ["id", 2]]  (12.7ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 61ms (ActiveRecord: 39.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:53:08 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.2ms) Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.4ms)  (11.8ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.3ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.6ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.8ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.1ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.7ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.8ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.2ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:21 +0000 Processing by Mtdevise::AccountsController#index as HTML Completed 401 Unauthorized in 26ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:21 +0000 Processing by Devise::SessionsController#new as HTML Rendered /home/ubuntu/workspace/app/views/devise/shared/_links.html.erb (11.9ms) Rendered /home/ubuntu/workspace/app/views/devise/sessions/new.html.erb within layouts/mtdevise/signin (116.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (1.0ms) Completed 200 OK in 577ms (Views: 536.3ms | ActiveRecord: 0.9ms)  (15.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.8ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.0ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.8ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test1@example.com' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "a-VKpZbkGyGmrdGPkQQs"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test1@example.com"], ["encrypted_password", "$2a$04$MCE9edrl/Nl3Hzyu64c/BePTChKRO7N7WNTEVTSSSnJANFKSEKqHe"], ["confirmed_at", "2016-05-26 18:58:22.407871"], ["authentication_token", "a-VKpZbkGyGmrdGPkQQs"], ["created_at", "2016-05-26 18:58:22.548857"], ["updated_at", "2016-05-26 18:58:22.548857"]]  (18.4ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test1' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #1' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test1' LIMIT 1 SQL (2.0ms) 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-05-26 18:58:22.623567"], ["updated_at", "2016-05-26 18:58:22.623567"]]  (12.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:22.753989"], ["updated_at", "2016-05-26 18:58:22.753989"]]  (13.8ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58: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.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:22 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.6ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test1@example.com"]]  (0.1ms) begin transaction SQL (0.4ms) 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-05-26 18:58:22.811483"], ["current_sign_in_at", "2016-05-26 18:58:22.811483"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:22.812501"], ["id", 1]]  (13.5ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 55ms (ActiveRecord: 14.6ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:22 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.5ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.4ms) 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 (11.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 47ms (Views: 26.9ms | ActiveRecord: 0.9ms)  (11.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.3ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.9ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.0ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.5ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.2ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.8ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "wa54HGe7kGbhqZmweiKe"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test3@example.com"], ["encrypted_password", "$2a$04$44YZYKBmbTaxboKih9rbYOEepDrtZ9ByEJqr/V5nSe.mnR3GX6v8S"], ["confirmed_at", "2016-05-26 18:58:23.045116"], ["authentication_token", "wa54HGe7kGbhqZmweiKe"], ["created_at", "2016-05-26 18:58:23.048206"], ["updated_at", "2016-05-26 18:58:23.048206"]]  (10.3ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test2' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #2' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test2' LIMIT 1 SQL (0.4ms) 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-05-26 18:58:23.063731"], ["updated_at", "2016-05-26 18:58:23.063731"]]  (10.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:23.078660"], ["updated_at", "2016-05-26 18:58:23.078660"]]  (10.0ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:58: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.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:58:23 +0000 Processing by Mtdevise::AccountsController#new as HTML Rendered /home/ubuntu/workspace/app/views/shared/_validation.html.erb (0.5ms) 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 (9.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.7ms) Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:23 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"another name", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "owner_attributes"=>{"email"=>"test3@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "subdomain"=>"anothersubdomain"}, "commit"=>"Create Account"}  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test3@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'anothersubdomain' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'another name' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 9.4ms | ActiveRecord: 1.6ms)  (14.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (12.7ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.6ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:58: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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:58:23 +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.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:23 +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"}  (0.2ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.7ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.4ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 5.9ms | ActiveRecord: 1.5ms)  (13.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (12.4ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.7ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.7ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:58: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/shared/_flash.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-05-26 18:58:23 +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 (3.9ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:23 +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"}  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "bYnR4TrwsxvUM3Fw4M7A"]] SQL (0.5ms) 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$N4TqzSmYmjDb5bzKqXnH8.mujw.a6IJBqhyxbavkwy7Dwn4r9GEJu"], ["authentication_token", "bYnR4TrwsxvUM3Fw4M7A"], ["created_at", "2016-05-26 18:58:23.426364"], ["updated_at", "2016-05-26 18:58:23.426364"], ["confirmation_token", "H-zS2bhDzUQjZ4ub-X7t"], ["confirmation_sent_at", "2016-05-26 18:58:23.426705"]] SQL (0.1ms) 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-05-26 18:58:23.428634"], ["updated_at", "2016-05-26 18:58:23.428634"]]  (11.3ms) commit transaction Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (5.8ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 429.7ms Sent mail to mtdevise@example.com (51.8ms) Date: Thu, 26 May 2016 18:58:23 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: mtdevise@example.com Message-ID: <5747474fe5a0e_116a9d30f011576@bradpotts-mtdevsie-3243298.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome mtdevise@example.com!

You can confirm your account through the link below:

Confirm my account

 (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:23.968271"], ["updated_at", "2016-05-26 18:58:23.968271"]]  (16.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:58:23.989691"], ["updated_at", "2016-05-26 18:58:23.990467"], ["id", 1]]  (11.6ms) commit transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 1) LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) 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-05-26 18:58:24.009584"], ["current_sign_in_at", "2016-05-26 18:58:24.009584"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:24.010428"], ["id", 1]]  (11.5ms) commit transaction Redirected to http://test.example.com/ Completed 302 Found in 608ms (ActiveRecord: 54.6ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test"]] Mtdevise::User Load (0.2ms) 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/shared/_header.html.erb (1.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.3ms) Completed 200 OK in 18ms (Views: 15.0ms | ActiveRecord: 0.4ms)  (10.9ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.7ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.8ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.1ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:24.133491"], ["updated_at", "2016-05-26 18:58:24.133491"]]  (10.2ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:24 +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: 3.9ms | ActiveRecord: 0.0ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:58:24 +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.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:24 +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"}  (0.2ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.8ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (6.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 9.4ms | ActiveRecord: 1.7ms)  (12.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (9.0ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.0ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.1ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:24 +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-05-26 18:58:24 +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.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:24 +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"=>""}, "commit"=>"Create Account"}  (0.5ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'mtdevise@example.com' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/account/users/_form.html.erb (0.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 6.3ms | ActiveRecord: 1.9ms)  (13.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (7.7ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.1ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "1r4aARLZxMtcokcmgMH6"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$8gwbwqKvqdoonjDYJI1fNOYqC6uCS6S2V71lF9QqZLt8IGRMTbsQa"], ["confirmed_at", "2016-05-26 18:58:24.381468"], ["authentication_token", "1r4aARLZxMtcokcmgMH6"], ["created_at", "2016-05-26 18:58:24.384489"], ["updated_at", "2016-05-26 18:58:24.384489"]]  (10.8ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:24 +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.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:58:24 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.5ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]]  (0.1ms) begin transaction SQL (0.4ms) 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-05-26 18:58:24.423528"], ["current_sign_in_at", "2016-05-26 18:58:24.423528"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:24.424477"], ["id", 1]]  (11.8ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 12.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.4ms) Started GET "/sign_up" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.3ms) 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 3ms (ActiveRecord: 0.3ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.3ms) 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.1ms) Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.5ms)  (11.4ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (11.0ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.5ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.4ms) DELETE FROM "mtdevise_members";  (1.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (11.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.9ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'things';  (10.7ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.0ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.1ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (9.7ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.4ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.9ms) DELETE FROM "mtdevise_users";  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test4@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "ytgvTxk8qBZyP2u82sR_"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test4@example.com"], ["encrypted_password", "$2a$04$5eTTBpKjHlKP9lH5FRnFgOHjA.G1ZcKF345lH5qbo3uyud0YVWQP6"], ["confirmed_at", "2016-05-26 18:58:24.710831"], ["authentication_token", "ytgvTxk8qBZyP2u82sR_"], ["created_at", "2016-05-26 18:58:24.714855"], ["updated_at", "2016-05-26 18:58:24.714855"]]  (11.9ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test3' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #3' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test3' LIMIT 1 SQL (0.4ms) 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-05-26 18:58:24.746207"], ["updated_at", "2016-05-26 18:58:24.746207"]]  (11.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:24.765547"], ["updated_at", "2016-05-26 18:58:24.765547"]]  (10.3ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:24 +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.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test4@example.com"]]  (0.1ms) begin transaction SQL (0.3ms) 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-05-26 18:58:24.809732"], ["current_sign_in_at", "2016-05-26 18:58:24.809732"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:24.810653"], ["id", 1]]  (9.0ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 20ms (ActiveRecord: 9.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.5ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.4ms) 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/shared/_flash.html.erb (0.4ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.9ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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 (2.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test"}, "commit"=>"Create Account"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:24.871048"], ["updated_at", "2016-05-26 18:58:24.871048"]]  (9.2ms) commit transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 1], ["created_at", "2016-05-26 18:58:24.888108"], ["updated_at", "2016-05-26 18:58:24.888108"]]  (10.4ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."subdomain" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."username" = 'test' AND "mtdevise_accounts"."id" != 2) LIMIT 1 SQL (0.5ms) UPDATE "mtdevise_accounts" SET "owner_id" = ?, "updated_at" = ? WHERE "mtdevise_accounts"."id" = ? [["owner_id", 1], ["updated_at", "2016-05-26 18:58:24.907063"], ["id", 2]]  (10.4ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 58ms (ActiveRecord: 33.4ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:24 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms)  (11.4ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.7ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (15.5ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.6ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test6@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "Enc93NXbQTBYZYG8U-hm"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test6@example.com"], ["encrypted_password", "$2a$04$FfAoD1ZEQybZZSSi7MZ4g.eWtAZ0bRo.O4HLp.5EI5n.0sRA8tTK6"], ["confirmed_at", "2016-05-26 18:58:25.023960"], ["authentication_token", "Enc93NXbQTBYZYG8U-hm"], ["created_at", "2016-05-26 18:58:25.027969"], ["updated_at", "2016-05-26 18:58:25.027969"]]  (11.1ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test4' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #4' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test4' LIMIT 1 SQL (0.7ms) 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-05-26 18:58:25.047754"], ["updated_at", "2016-05-26 18:58:25.047754"]]  (11.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:25.064211"], ["updated_at", "2016-05-26 18:58:25.064211"]]  (10.3ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:25 +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 (2.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test6@example.com"]]  (0.2ms) begin transaction SQL (0.4ms) 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-05-26 18:58:25.106949"], ["current_sign_in_at", "2016-05-26 18:58:25.106949"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:25.108540"], ["id", 1]]  (13.1ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 25ms (ActiveRecord: 14.0ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.1ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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.0ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"admin"}, "commit"=>"Create Account"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.6ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'admin' LIMIT 1 Mtdevise::Account Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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/accounts/new.html.erb within layouts/mtdevise/accounts (2.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 5.9ms | ActiveRecord: 2.2ms)  (11.7ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.1ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test8@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "SGupUWKbxZb8QyN9x_xm"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test8@example.com"], ["encrypted_password", "$2a$04$BfUz/924fvejWMJe2Kog3OhCvX3YAleA4qcEGgrsrhB58in/ItXA6"], ["confirmed_at", "2016-05-26 18:58:25.275525"], ["authentication_token", "SGupUWKbxZb8QyN9x_xm"], ["created_at", "2016-05-26 18:58:25.279303"], ["updated_at", "2016-05-26 18:58:25.279303"]]  (10.9ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #5' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test5' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:25.297115"], ["updated_at", "2016-05-26 18:58:25.297115"]]  (11.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:25.312988"], ["updated_at", "2016-05-26 18:58:25.312988"]]  (12.6ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:25 +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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test8@example.com"]]  (0.1ms) begin transaction SQL (0.5ms) 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-05-26 18:58:25.365928"], ["current_sign_in_at", "2016-05-26 18:58:25.365928"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:25.367037"], ["id", 1]]  (11.8ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 26ms (ActiveRecord: 12.8ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.4ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>"test5"}, "commit"=>"Create Account"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test5' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/accounts (3.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 7.3ms | ActiveRecord: 1.6ms)  (11.6ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (12.4ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.8ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test10@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "N6KanzsN7QPxmM6nxTn1"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test10@example.com"], ["encrypted_password", "$2a$04$RwaugZlqEB5ZTgqDvVytTO1nIQe2aEXP3Lkg6.dAmC7hxiXlWRF3K"], ["confirmed_at", "2016-05-26 18:58:25.556372"], ["authentication_token", "N6KanzsN7QPxmM6nxTn1"], ["created_at", "2016-05-26 18:58:25.561456"], ["updated_at", "2016-05-26 18:58:25.561456"]]  (14.0ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test6' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #6' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test6' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:25.583845"], ["updated_at", "2016-05-26 18:58:25.583845"]]  (10.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:25.598696"], ["updated_at", "2016-05-26 18:58:25.598696"]]  (11.7ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:25 +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 (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:58:25 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test10@example.com"]]  (0.1ms) begin transaction SQL (0.4ms) 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-05-26 18:58:25.646534"], ["current_sign_in_at", "2016-05-26 18:58:25.646534"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:25.647539"], ["id", 1]]  (11.5ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 24ms (ActiveRecord: 12.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.3ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.4ms | ActiveRecord: 0.5ms) Started GET "/accounts/new" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#new as HTML Mtdevise::User Load (0.2ms) 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.3ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (2.2ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started POST "/accounts" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Processing by Mtdevise::AccountsController#create as HTML Parameters: {"utf8"=>"✓", "account"=>{"name"=>"Test", "firstname"=>"Test", "lastname"=>"Test", "username"=>"Test", "subdomain"=>""}, "commit"=>"Create Account"} Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) rollback transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = '' LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.2ms) 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/accounts/new.html.erb within layouts/mtdevise/accounts (3.4ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 7.7ms | ActiveRecord: 1.8ms)  (17.2ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.0ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.7ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.8ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.9ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.2ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.9ms) DELETE FROM "mtdevise_members";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test12@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "zwWUpu-Z9hNHeepfPeWM"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test12@example.com"], ["encrypted_password", "$2a$04$pvXn1VusIM3CrlZQ.JMBUuXqo5uYDv..Sp661SK7RTKQgFXf7zGPm"], ["confirmed_at", "2016-05-26 18:58:25.884737"], ["authentication_token", "zwWUpu-Z9hNHeepfPeWM"], ["created_at", "2016-05-26 18:58:25.888432"], ["updated_at", "2016-05-26 18:58:25.888432"]]  (10.9ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test7' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #7' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test7' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:25.906073"], ["updated_at", "2016-05-26 18:58:25.906073"]]  (11.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:25.923519"], ["updated_at", "2016-05-26 18:58:25.923519"]]  (7.9ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:58:25 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:25 +0000 Mtdevise::Account Load (0.2ms) 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"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] Mtdevise::Account Load (0.4ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test7"]] Mtdevise::User Load (0.3ms) 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 8ms (ActiveRecord: 1.0ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test7"]] 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 (2.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (11.2ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.3ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.9ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (7.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.4ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test13@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "sSPgoh1n4nFtrs6WDysm"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test13@example.com"], ["encrypted_password", "$2a$04$29wHHLaVrX2GQ9OfCIXRSeBLv07A714LZufnMMkg14OOhHqBvnrGq"], ["confirmed_at", "2016-05-26 18:58:26.073816"], ["authentication_token", "sSPgoh1n4nFtrs6WDysm"], ["created_at", "2016-05-26 18:58:26.078034"], ["updated_at", "2016-05-26 18:58:26.078034"]]  (12.8ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test8' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #8' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test8' LIMIT 1 SQL (0.2ms) 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-05-26 18:58:26.097156"], ["updated_at", "2016-05-26 18:58:26.097156"]]  (10.5ms) commit transaction  (0.3ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:26.112555"], ["updated_at", "2016-05-26 18:58:26.112555"]]  (10.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] Completed 401 Unauthorized in 3ms (ActiveRecord: 0.3ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.3ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] 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.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.3ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.5ms) 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"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test8"]] Mtdevise::User Load (0.2ms) 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.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"foo@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} CACHE (0.0ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test8"]] 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.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (11.1ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.5ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.1ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.0ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.6ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test14@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "8vhtpnvsB4JBWPWLC9kD"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test14@example.com"], ["encrypted_password", "$2a$04$Q/YAex2d9PYlXO.LT4T9L.E.hv9pmRvUV/IXDlRH2jHCqAp74tq5W"], ["confirmed_at", "2016-05-26 18:58:26.272659"], ["authentication_token", "8vhtpnvsB4JBWPWLC9kD"], ["created_at", "2016-05-26 18:58:26.276673"], ["updated_at", "2016-05-26 18:58:26.276673"]]  (10.8ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test9' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #9' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test9' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:26.294196"], ["updated_at", "2016-05-26 18:58:26.294196"]]  (12.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:26.312794"], ["updated_at", "2016-05-26 18:58:26.312794"]]  (11.1ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.2ms) 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-05-26 18:58:26 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["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 (2.3ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:58:26 +0000 Mtdevise::Account Load (0.4ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test9"]] Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test9"]] Mtdevise::User Load (0.2ms) 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", "test14@example.com"]]  (0.1ms) begin transaction SQL (0.5ms) 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-05-26 18:58:26.366204"], ["current_sign_in_at", "2016-05-26 18:58:26.366204"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:26.367090"], ["id", 1]]  (11.7ms) commit transaction Redirected to http://test9.example.com/ Completed 302 Found in 26ms (ActiveRecord: 12.8ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test9"]] Mtdevise::User Load (0.2ms) 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.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.3ms)  (10.5ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.4ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test15@example.com' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "wXmp4Y7G7PUUvUKf1CUJ"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test15@example.com"], ["encrypted_password", "$2a$04$5I.2cpgitpX9J1EMQQDru.XlaFTP.ahlrac4zMZTJebwpgqaRvOHy"], ["confirmed_at", "2016-05-26 18:58:26.502640"], ["authentication_token", "wXmp4Y7G7PUUvUKf1CUJ"], ["created_at", "2016-05-26 18:58:26.507032"], ["updated_at", "2016-05-26 18:58:26.507032"]]  (11.0ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test10' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #10' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test10' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:26.526210"], ["updated_at", "2016-05-26 18:58:26.526210"]]  (12.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:26.546323"], ["updated_at", "2016-05-26 18:58:26.546323"]]  (12.8ms) commit transaction  (0.1ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test16@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "fVnWCxxRT-RC_UYhxyVL"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test16@example.com"], ["encrypted_password", "$2a$04$oqXliNdJ/8/doik10IivE./lbBPm8s/7Qtk9WqEF.TfHTOotkmjle"], ["confirmed_at", "2016-05-26 18:58:26.565419"], ["authentication_token", "fVnWCxxRT-RC_UYhxyVL"], ["created_at", "2016-05-26 18:58:26.570585"], ["updated_at", "2016-05-26 18:58:26.570585"]]  (11.7ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test11' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #11' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test11' LIMIT 1 SQL (0.6ms) 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", 2], ["created_at", "2016-05-26 18:58:26.593470"], ["updated_at", "2016-05-26 18:58:26.593470"]]  (12.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:58:26.611540"], ["updated_at", "2016-05-26 18:58:26.611540"]]  (8.2ms) commit transaction Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.4ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.2ms) 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 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] 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 (3.6ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.3ms) 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"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::Account Load (0.1ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] Mtdevise::Account Load (0.1ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? LIMIT 1 [["subdomain", "test10"]] Mtdevise::User Load (0.4ms) 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", "test16@example.com"]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} CACHE (0.1ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? [["subdomain", "test10"]] 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.1ms)  (10.9ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (8.9ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.0ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.1ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.6ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.7ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.8ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.6ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.4ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'orbanbotond@gmail.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "QR48FxZzyo-RYHKWe-qA"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "orbanbotond@gmail.com"], ["encrypted_password", "$2a$04$vBQg/YvI8aWc3e4lREPuouZVZG4xvyEl4Hod22zvRTqeOF4CLk2A."], ["confirmed_at", "2016-05-26 18:58:26.828726"], ["authentication_token", "QR48FxZzyo-RYHKWe-qA"], ["created_at", "2016-05-26 18:58:26.832098"], ["updated_at", "2016-05-26 18:58:26.832098"]]  (11.2ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:26 +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 (1.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:58:26 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"orbanbotond@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "orbanbotond@gmail.com"]]  (0.1ms) begin transaction SQL (0.5ms) 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-05-26 18:58:26.870818"], ["current_sign_in_at", "2016-05-26 18:58:26.870818"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:26.871865"], ["id", 1]]  (10.8ms) commit transaction Redirected to http://example.com/accounts Completed 302 Found in 21ms (ActiveRecord: 11.7ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Processing by Mtdevise::WelcomeController#index as HTML Mtdevise::User Load (0.2ms) 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 2ms (ActiveRecord: 0.2ms) Started GET "/accounts" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.1ms) 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.1ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms)  (10.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (10.2ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.3ms) DELETE FROM "mtdevise_users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (8.4ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:26 +0000 Mtdevise::Account Load (0.3ms) 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 Mtdevise::Account Load (0.1ms) 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-05-26 18:58: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.5ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (13.9ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (11.9ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.5ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (7.7ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:27 +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: 3.8ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:27 +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 (1.7ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (11.9ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (9.0ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.8ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members'; Started GET "/" for 127.0.0.1 at 2016-05-26 18:58:27 +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-05-26 18:58:27 +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.5ms) Rendered /home/ubuntu/workspace/app/views/mtdevise/accounts/new.html.erb within layouts/mtdevise/signup (3.1ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (11.1ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (9.1ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.0ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.1ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (10.1ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (13.7ms) DELETE FROM "mtdevise_accounts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (10.2ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.6ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'user@example.com' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account' AND "mtdevise_accounts"."owner_id" IS NULL) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "p57sPknM31XUnRvgTxeE"]] SQL (0.3ms) 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$ubo4E8KhezSBu6brfLnb3e7LYn54Ds0SXwKADoVAL/wexAsmtM2fG"], ["authentication_token", "p57sPknM31XUnRvgTxeE"], ["created_at", "2016-05-26 18:58:27.254579"], ["updated_at", "2016-05-26 18:58:27.254579"], ["confirmation_token", "Gjt9KpUjVKB2nvLKU5Gs"], ["confirmation_sent_at", "2016-05-26 18:58:27.254898"]] SQL (0.1ms) 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-05-26 18:58:27.256875"], ["updated_at", "2016-05-26 18:58:27.256875"]]  (11.1ms) commit transaction Rendered /home/ubuntu/workspace/app/views/devise/mailer/confirmation_instructions.html.erb (5.3ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 7.9ms Sent mail to user@example.com (2.6ms) Date: Thu, 26 May 2016 18:58:27 +0000 From: no-reply@phcnetworks.net Reply-To: no-reply@phcnetworks.net To: user@example.com Message-ID: <57474753444df_116a9d30f0116d9@bradpotts-mtdevsie-3243298.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:

Confirm my account

 (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:27.284715"], ["updated_at", "2016-05-26 18:58:27.284715"]]  (13.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "mtdevise_users" SET "confirmed_at" = ?, "updated_at" = ? WHERE "mtdevise_users"."id" = ? [["confirmed_at", "2016-05-26 18:58:27.300523"], ["updated_at", "2016-05-26 18:58:27.301381"], ["id", 1]]  (13.4ms) commit transaction Mtdevise::User Load (0.5ms) 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]]  (10.6ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (10.5ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (11.2ms) DELETE FROM "mtdevise_users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (16.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (13.9ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.3ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'things';  (11.5ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (8.6ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (9.9ms) DELETE FROM "mtdevise_members";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test17@example.com' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "kP4tfmE7Yv4FHxhz-td6"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test17@example.com"], ["encrypted_password", "$2a$04$8.I8MPIYfdjx6I4vI0GjduNigfXZ2qqze3/Wr3O2dbNP20b73ISqa"], ["confirmed_at", "2016-05-26 18:58:27.457489"], ["authentication_token", "kP4tfmE7Yv4FHxhz-td6"], ["created_at", "2016-05-26 18:58:27.462409"], ["updated_at", "2016-05-26 18:58:27.462409"]]  (13.0ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test12' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #12' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test12' LIMIT 1 SQL (0.5ms) 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-05-26 18:58:27.485585"], ["updated_at", "2016-05-26 18:58:27.485585"]]  (12.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:27.503596"], ["updated_at", "2016-05-26 18:58:27.503596"]]  (8.6ms) commit transaction  (0.1ms) begin transaction Mtdevise::User Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test18@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "8pvByq-svZvyxhJfGggb"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test18@example.com"], ["encrypted_password", "$2a$04$879q5hqcs9sKkZ5ucXmUg.8SQZIbUgXbwQJTxkZ6FMq9ajzwjTjyS"], ["confirmed_at", "2016-05-26 18:58:27.517039"], ["authentication_token", "8pvByq-svZvyxhJfGggb"], ["created_at", "2016-05-26 18:58:27.520427"], ["updated_at", "2016-05-26 18:58:27.520427"]]  (11.5ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test13' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #13' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test13' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:27.538764"], ["updated_at", "2016-05-26 18:58:27.538764"]]  (11.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:58:27.555250"], ["updated_at", "2016-05-26 18:58:27.555250"]]  (14.4ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:58:27.581401"], ["updated_at", "2016-05-26 18:58:27.581401"]]  (12.5ms) commit transaction  (1.0ms) begin transaction SQL (0.4ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:58:27.598291"], ["updated_at", "2016-05-26 18:58:27.598291"]]  (12.2ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:27 +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 (3.7ms) 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 "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test17@example.com"]]  (0.2ms) begin transaction SQL (0.3ms) 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-05-26 18:58:27.651391"], ["current_sign_in_at", "2016-05-26 18:58:27.651391"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:27.652394"], ["id", 1]]  (11.4ms) 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-05-26 18:58:27 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.2ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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 (0.1ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.4ms) Started GET "/things" for 127.0.0.1 at 2016-05-26 18:58:27 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test12"]] Processing by ThingsController#index as HTML Thing Load (0.4ms) SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 1]] Rendered things/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.4ms)  (14.8ms) DELETE FROM "things";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.8ms) DELETE FROM sqlite_sequence where name = 'things';  (11.4ms) DELETE FROM "mtdevise_accounts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.3ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (9.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (11.5ms) DELETE FROM "mtdevise_members";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test20@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "knMP-K_q2V3zGe6xXSGj"]] SQL (0.3ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test20@example.com"], ["encrypted_password", "$2a$04$tBdXGfJkv/DiIqR/PPx8XeeYTAT4Qdg6E2MYjHywAy43J6f3Bin9O"], ["confirmed_at", "2016-05-26 18:58:27.809973"], ["authentication_token", "knMP-K_q2V3zGe6xXSGj"], ["created_at", "2016-05-26 18:58:27.814810"], ["updated_at", "2016-05-26 18:58:27.814810"]]  (12.0ms) commit transaction  (0.1ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test14' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #14' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test14' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:27.834259"], ["updated_at", "2016-05-26 18:58:27.834259"]]  (11.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:27.850664"], ["updated_at", "2016-05-26 18:58:27.850664"]]  (12.0ms) commit transaction  (0.2ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test21@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "cpAcrvSEsjWsWneaymqs"]] SQL (0.4ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test21@example.com"], ["encrypted_password", "$2a$04$kp7z0xMX5VzSxeTvnPSjh.IkxNC0B5T0acIdqiUXn09IrO3Sj/uKm"], ["confirmed_at", "2016-05-26 18:58:27.868364"], ["authentication_token", "cpAcrvSEsjWsWneaymqs"], ["created_at", "2016-05-26 18:58:27.873503"], ["updated_at", "2016-05-26 18:58:27.873503"]]  (17.3ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test15' LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #15' AND "mtdevise_accounts"."owner_id" = 2) LIMIT 1 Mtdevise::Account Exists (0.1ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test15' LIMIT 1 SQL (0.3ms) 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-05-26 18:58:27.899412"], ["updated_at", "2016-05-26 18:58:27.899412"]]  (10.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["user_id", 2], ["created_at", "2016-05-26 18:58:27.914293"], ["updated_at", "2016-05-26 18:58:27.914293"]]  (12.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["name", "Account A's Thing"], ["created_at", "2016-05-26 18:58:27.929487"], ["updated_at", "2016-05-26 18:58:27.929487"]]  (10.5ms) commit transaction  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "things" ("account_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 2], ["name", "Account B's Thing"], ["created_at", "2016-05-26 18:58:27.943637"], ["updated_at", "2016-05-26 18:58:27.943637"]]  (11.1ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:27 +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.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.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-05-26 18:58:27 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test21@example.com"]]  (0.4ms) begin transaction SQL (0.4ms) 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-05-26 18:58:27.992673"], ["current_sign_in_at", "2016-05-26 18:58:27.992673"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:27.993980"], ["id", 2]]  (12.5ms) 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-05-26 18:58:28 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.4ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 2]] Mtdevise::Account Load (0.3ms) 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.8ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.6ms) Started GET "/things" for 127.0.0.1 at 2016-05-26 18:58:28 +0000 Mtdevise::Account Load (0.2ms) SELECT "mtdevise_accounts".* FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = ? ORDER BY "mtdevise_accounts"."id" ASC LIMIT 1 [["subdomain", "test15"]] Processing by ThingsController#index as HTML Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."account_id" = ? [["account_id", 2]] Rendered things/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (11.8ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.9ms) DELETE FROM sqlite_sequence where name = 'things';  (11.2ms) DELETE FROM "mtdevise_accounts";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (13.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (9.8ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.1ms) DELETE FROM "mtdevise_members";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (11.2ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (12.0ms) DELETE FROM "things";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (14.7ms) DELETE FROM "mtdevise_users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (12.5ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.5ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test23@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "G_3KR2WhCMerQALh8aXF"]] SQL (0.8ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test23@example.com"], ["encrypted_password", "$2a$04$Lc.pES2miAmASwOTcci8f.JnWMJgKCsO3rJr69pRXbm.uvMYRRqtu"], ["confirmed_at", "2016-05-26 18:58:28.207349"], ["authentication_token", "G_3KR2WhCMerQALh8aXF"], ["created_at", "2016-05-26 18:58:28.213885"], ["updated_at", "2016-05-26 18:58:28.213885"]]  (12.4ms) commit transaction  (0.2ms) begin transaction Mtdevise::Account Exists (0.5ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test16' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #16' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.6ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test16' LIMIT 1 SQL (0.5ms) 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-05-26 18:58:28.238623"], ["updated_at", "2016-05-26 18:58:28.238623"]]  (14.5ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:28.260174"], ["updated_at", "2016-05-26 18:58:28.260174"]]  (13.1ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:28 +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.0ms) Rendered /home/ubuntu/workspace/app/views/shared/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:28 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test23@example.com"]] Completed 401 Unauthorized in 5ms (ActiveRecord: 0.3ms) 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/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 (0.8ms) Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (11.8ms) DELETE FROM "things";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'things';  (10.7ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (12.5ms) DELETE FROM "mtdevise_users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.9ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (14.2ms) DELETE FROM "mtdevise_members";  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.5ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';  (0.4ms) begin transaction Mtdevise::User Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_users" WHERE "mtdevise_users"."email" = 'test24@example.com' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mtdevise_users" WHERE "mtdevise_users"."authentication_token" = ? [["authentication_token", "_YWWbMzgyK8RVZ6XwW5W"]] SQL (0.5ms) INSERT INTO "mtdevise_users" ("email", "encrypted_password", "confirmed_at", "authentication_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "test24@example.com"], ["encrypted_password", "$2a$04$KlAekqj6qTx6BfiFs8rDbeo9eWpMWLcKKs1u2lBO9pjLzfTv7.EMC"], ["confirmed_at", "2016-05-26 18:58:28.421964"], ["authentication_token", "_YWWbMzgyK8RVZ6XwW5W"], ["created_at", "2016-05-26 18:58:28.427158"], ["updated_at", "2016-05-26 18:58:28.427158"]]  (13.5ms) commit transaction  (0.3ms) begin transaction Mtdevise::Account Exists (0.4ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."subdomain" = 'test17' LIMIT 1 Mtdevise::Account Exists (0.2ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE ("mtdevise_accounts"."name" = 'Test Account #17' AND "mtdevise_accounts"."owner_id" = 1) LIMIT 1 Mtdevise::Account Exists (0.3ms) SELECT 1 AS one FROM "mtdevise_accounts" WHERE "mtdevise_accounts"."username" = 'test17' LIMIT 1 SQL (0.5ms) 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-05-26 18:58:28.451887"], ["updated_at", "2016-05-26 18:58:28.451887"]]  (13.1ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) INSERT INTO "mtdevise_members" ("account_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["user_id", 1], ["created_at", "2016-05-26 18:58:28.472245"], ["updated_at", "2016-05-26 18:58:28.472245"]]  (13.5ms) commit transaction Started GET "/users/sign_in" for 127.0.0.1 at 2016-05-26 18:58:28 +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/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-05-26 18:58:28 +0000 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"test24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign-In"} Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."email" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["email", "test24@example.com"]]  (0.3ms) begin transaction SQL (0.3ms) 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-05-26 18:58:28.523394"], ["current_sign_in_at", "2016-05-26 18:58:28.523394"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-05-26 18:58:28.524528"], ["id", 1]]  (11.3ms) 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-05-26 18:58:28 +0000 Processing by Mtdevise::AccountsController#index as HTML Mtdevise::User Load (0.3ms) SELECT "mtdevise_users".* FROM "mtdevise_users" WHERE "mtdevise_users"."id" = ? ORDER BY "mtdevise_users"."id" ASC LIMIT 1 [["id", 1]] Mtdevise::Account Load (0.2ms) 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/shared/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.4ms)  (14.9ms) DELETE FROM "things";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'things';  (11.6ms) DELETE FROM "mtdevise_accounts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.8ms) DELETE FROM sqlite_sequence where name = 'mtdevise_accounts';  (13.5ms) DELETE FROM "mtdevise_users";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (8.7ms) DELETE FROM sqlite_sequence where name = 'mtdevise_users';  (10.8ms) DELETE FROM "mtdevise_members";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.3ms) DELETE FROM sqlite_sequence where name = 'mtdevise_members';